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(); } } } }
private void SettingsNTRIP() { using (var form = new FormNtrip(this)) { if (form.ShowDialog(this) == DialogResult.OK) { if (isNTRIP_Connected) { SettingsShutDownNTRIP(); } } } }