示例#1
0
 private void HoldLongitudeTextBox_Validated(object sender, EventArgs e)
 {
     if (CrossForm.TestTextBox(HoldLongitudeTextBox))
     {
         HoldLon = CrossForm.Lat;
     }
 }
示例#2
0
 private void EndLongitudeTextBox_Validated(object sender, EventArgs e)
 {
     if (CrossForm.TestTextBox(EndLongitudeTextBox))
     {
         EndLon = CrossForm.Lon;
         UpdateStats();
     }
 }
示例#3
0
 private void StartLatitudeTextBox_Validated(object sender, EventArgs e)
 {
     if (CrossForm.TestTextBox(StartLatitudeTextBox))
     {
         StartLat = CrossForm.Lat;
         UpdateStats();
     }
 }
示例#4
0
 private void PasteToTextBox_Validated(object sender, EventArgs e)
 {
     if (CrossForm.TestTextBox(PasteToTextBox))
     {
         PasteToEndButton.Enabled = PasteToStartButton.Enabled = true;
         PasteLat = CrossForm.Lat;
         PasteLon = CrossForm.Lon;
     }
 }
示例#5
0
 private void LonTextBox_Validated(object sender, EventArgs e)
 {
     if (CrossForm.TestTextBox(LatTextBox))
     {
         LabelLon        = CrossForm.Lon;
         LatTextBox.Text = Conversions.Degrees2SCT(LabelLon, false);
         CheckGenerate();
     }
 }
示例#6
0
 private void EndLongitudeTextBox_Validated(object sender, EventArgs e)
 {
     if (CrossForm.TestTextBox(EndLongitudeTextBox))
     {
         EndLon = CrossForm.Lon;
         if (CrossForm.Lat != -199)
         {
             EndLat = CrossForm.Lat;
         }
         UpdateCopyButtons();
     }
 }
示例#7
0
 private void StartLatitudeTextBox_Validated(object sender, EventArgs e)
 {
     if (CrossForm.TestTextBox(StartLatitudeTextBox))
     {
         StartLat = CrossForm.Lat;
         if (CrossForm.Lon != -1)
         {
             StartLon = CrossForm.Lon;
         }
         UpdateCopyButtons();
     }
 }
示例#8
0
 private void PasteToTextBox_Validated(object sender, EventArgs e)
 {
     PasteToCenterButton.Enabled = PasteToEndButton.Enabled = PasteToStartButton.Enabled = CrossForm.TestTextBox(PasteToTextBox);
 }
示例#9
0
 private void PasteToTextBox_Validated(object sender, EventArgs e)
 {
     CopyToHoldButton.Enabled = CrossForm.TestTextBox(PasteToTextBox);
 }