private void onOutputClick(object sender, EventArgs e) { if (Outputting) { //(tabMain.TabPages[tabMain.SelectedIndex].Controls[0] as IPageControl).onStopOutput (); AECG100.StopOutputWaveform(); } else { GraphReset(); (tabMain.TabPages[tabMain.SelectedIndex].Controls[0] as IPageControl).onStartOutput(); } btnOutput.Enabled = false; }
private void onFormClosing(object sender, FormClosingEventArgs e) { IsFormClosing = true; AECG100.StopOutputWaveform(); }