private void Form1_Load(object sender, EventArgs e) { Properties.Settings.Default.DriverId = DEVICE_PROGID; labelDriverId.Text = DEVICE_PROGID; driver = new ASCOM.DriverAccess.ObservingConditions(DEVICE_PROGID); SetUIState(); }
public Form1() { InitializeComponent(); Properties.Settings.Default.DriverId = DEVICE_PROGID; labelDriverId.Text = DEVICE_PROGID; driver = new ASCOM.DriverAccess.ObservingConditions(DEVICE_PROGID); SetUIState(); }