예제 #1
0
 /// <summary>
 /// Reacts to the selection of a point feature.
 /// </summary>
 /// <param name="point">The point (if any) that has been selected.</param>
 internal override void OnSelectPoint(PointFeature point)
 {
     if (m_DialFrom != null)
     {
         m_DialFrom.OnSelectPoint(point, true);
     }
     else if (m_DialTo != null)
     {
         m_DialTo.OnSelectPoint(point, true);
     }
     else if (m_DialPath != null)
     {
         m_DialPath.OnSelectPoint(point);
     }
 }
예제 #2
0
 /// <summary>
 /// Starts the to-point sub-dialog.
 /// </summary>
 void StartTo()
 {
     m_DialTo = new GetPointForm(this, "Finishing Point", Color.Cyan, true);
     m_DialTo.Show();
     m_DialTo.OnSelectPoint(m_To, false);
 }
예제 #3
0
 /// <summary>
 /// Starts the from-point sub-dialog.
 /// </summary>
 void StartFrom()
 {
     m_DialFrom = new GetPointForm(this, "Starting Point", Color.DarkBlue, false);
     m_DialFrom.Show();
     m_DialFrom.OnSelectPoint(m_From, false);
 }