private void miConnect_Click(object sender, EventArgs e) { if (!Directory.Exists(Settings.Default.OutputLocation)) { MessageBox.Show("Output Video Location is invalid.", "OccuRec", MessageBoxButtons.OK, MessageBoxIcon.Error); var frmSettings = new frmSettings(m_ObservatoryController, true); frmSettings.ShowDialog(this); } else ConnectToCamera(); }
private void miConfigure_Click(object sender, EventArgs e) { var frmSettings = new frmSettings(m_ObservatoryController, videoObject == null); frmSettings.ShowDialog(this); UpdateASCOMConnectivityState(); UpdateNTPConnectivityState(); m_LastKnownGoodNTPServersInitialised = false; UpdateObservingAidControls(); }