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