示例#1
0
        private void bnWaypoint_Click(object sender, EventArgs e)
        {
            WaypointSelectorForm wps = new WaypointSelectorForm(Core);

            if (wps.ShowDialog(this) == System.Windows.Forms.DialogResult.OK)
            {
                string wp = "WP(\"" + wps.WaypointName + "\")";
                UpdateFormulaText(wp, 0);
            }
        }
示例#2
0
 private void bnWaypoint_Click(object sender, EventArgs e)
 {
     WaypointSelectorForm wps = new WaypointSelectorForm(Core);
     if (wps.ShowDialog(this) == System.Windows.Forms.DialogResult.OK)
     {
         string wp = "WP(\"" + wps.WaypointName + "\")";
         UpdateFormulaText(wp, 0);
     }
 }