Exemple #1
0
        public void SetupDialog()
        {
            if (RotatorHardware.Connected)
            {
                throw new DriverException("The rotator is connected, cannot do SetupDialog()", unchecked (ErrorCodes.DriverBase + 4));
            }

            RotatorHardware.SetupDialog();
        }
Exemple #2
0
        public void SetupDialog()
        {
            if (RotatorHardware.Connected)
            {
                throw new DriverException("The rotator is connected, cannot do SetupDialog()",
                                          unchecked (ErrorCodes.DriverBase + 4));
            }
            RotatorHardware.SetupDialog();

            //RotatorSimulator.m_MainForm.DoSetupDialog();			// Kinda sleazy
        }