private void getSalinityLbl_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { using (SalinityDialog sDialog = new SalinityDialog()) { if (sDialog.ShowDialog() == System.Windows.Forms.DialogResult.OK) { salinityEdit.Value = Convert.ToDecimal(sDialog.Salinity); } } }
private void salinityDataBaseBtn_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { using (SalinityDialog sDialog = new SalinityDialog()) { if (sDialog.ShowDialog() == System.Windows.Forms.DialogResult.OK) { salinity = sDialog.Salinity; } } }
private void styDialogLnk_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { using (SalinityDialog sDialog = new SalinityDialog()) { sDialog.Text = "RWLT Host - Salinity"; if (sDialog.ShowDialog() == System.Windows.Forms.DialogResult.OK) { salinityPSU = sDialog.Salinity; } } }
private void styBaseBtn_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { using (SalinityDialog sDialog = new SalinityDialog()) { sDialog.Title = "World salinity database"; if (sDialog.ShowDialog() == System.Windows.Forms.DialogResult.OK) { waterSalinityPSU = sDialog.Salinity; } } }
private void salinitySearchLnk_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { using (SalinityDialog sDialog = new SalinityDialog()) { sDialog.Text = LocRM.GetString("mfText_SalinityAdjustStr"); sDialog.LatCaption = LocRM.GetString("mfText_LatitudeStr"); sDialog.LonCaption = LocRM.GetString("mfText_LongitudeStr"); sDialog.SearchBtnCaption = LocRM.GetString("mfText_FindStr"); sDialog.SalinityCaption = LocRM.GetString("mfText_SalinityPPMStr"); sDialog.SalinityDefCaption = LocRM.GetString("mfText_NoDataStr"); sDialog.ErrorConnetingDBMsg = LocRM.GetString("mfText_DataBaseErrorStr"); sDialog.NearestPntMsg = LocRM.GetString("mfText_NearestStr"); if (sDialog.ShowDialog() == System.Windows.Forms.DialogResult.OK) { salinity = sDialog.Salinity; } } }