private void Close() { //Schließen Drv.spcm_vClose(H_Device); Communication_LOG += "Connenction canceled\n"; //Ab hier verbunden IsConnected = false; //UI anpassen button_OpenClose.Text = "Open"; Voltage_Trigger.Enabled = false; }
public override void Close() { //Schließen Drv.spcm_vClose(H_Device); Communication_LOG += "Connenction canceled\n"; //Ab hier verbunden IsConnected = false; //UI anpassen button_OpenClose.Text = "Open"; comboBox_Frequency.Enabled = false; comboBox_Range.Enabled = false; numericUpDown_Trigger.Enabled = false; }
protected override bool ReleaseHandle() { Drv.spcm_vClose(handle); return(true); }