示例#1
0
 /// <summary>
 /// </summary>
 public void RestoreLocation()
 {
     if (markedLocation != Location.Unknown)
     {
         location.CopyFrom(markedLocation);
     }
 }
示例#2
0
 /// <summary>
 /// </summary>
 public void MarkLocation()
 {
     if (markedLocation == Location.Unknown)
     {
         markedLocation = new Location(location);
     }
     else
     {
         markedLocation.CopyFrom(location);
     }
 }