public void SetupDialog() { if (RotatorHardware.Connected) { throw new DriverException("The rotator is connected, cannot do SetupDialog()", unchecked (ErrorCodes.DriverBase + 4)); } RotatorHardware.SetupDialog(); }
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 }