예제 #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);
 }