protected override void Dispose(bool disposing) { if (NeuSysConsole != null) { NeuSysConsole.UnsubscribeModule(this); NeuSysConsole = null; } base.Dispose(disposing); }
public sBRMainForm(NeuSysConsole console) { InitializeComponent(); NeuSysConsole = console; BRDev = new BRDevice(); if (!BRDev.ConnectSignal()) { MessageBox.Show("Signal Connection Failed !", "No Signal Connected !"); } }
public sTDTMainForm(NeuSysConsole console) { InitializeComponent(); NeuSysConsole = console; TDTDev = new TDTDevice(); if (!TDTDev.ConnectSignal()) { MessageBox.Show("TTank Server 'Local' Connection Failed !", "No TTank Server Connected !"); } }
public cSLMainForm(NeuSysConsole console) { InitializeComponent(); try { NeuSysConsole = console; proxyExS = new ExService.ExServiceClient(new InstanceContext(this)); proxyExC = new ExConsole.ExServiceClient(new InstanceContext(this)); exdataGrid.CellValueChanged += new DataGridViewCellEventHandler(exdataGrid_CellValueChanged); } catch (Exception e) { MessageBox.Show(e.Message); } }
public AMainForm(NeuSysConsole console) { InitializeComponent(); NeuSysConsole = console; }