示例#1
0
        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();
        }
示例#2
0
        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();
        }