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

            RotatorHardware.SetupDialog();
        }
示例#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
        }