private void SettingsNTRIP() { if (isRadio_RequiredOn) { TimedMessageBox(2000, "Radio NTRIP ON", "Turn it off before using NTRIP"); return; } if (isSerialPass_RequiredOn) { TimedMessageBox(2000, "Serial NTRIP ON", "Turn it off before using NTRIP"); return; } using (var form = new FormNtrip(this)) { if (form.ShowDialog(this) == DialogResult.OK) { if (isNTRIP_Connected) { SettingsShutDownNTRIP(); } } } }
public FormSource(Form callingForm, List <string> _dataList, double _lat, double _lon, string syte) { InitializeComponent(); dataList = _dataList; lat = _lat; lon = _lon; site = syte; nt = callingForm as FormNtrip; }
private void SettingsNTRIP() { using (var form = new FormNtrip(this)) { if (form.ShowDialog(this) == DialogResult.OK) { if (isNTRIP_Connected) { SettingsShutDownNTRIP(); } } } }