private void PSForm_Closing(object sender, FormClosingEventArgs e) { if (ampv != null) { dismissAmpv = true; ampvThread.Join(); ampv.Close(); ampv = null; } advancedON = true; btnPSAdvanced_Click(this, e); this.Hide(); e.Cancel = true; Common.SaveForm(this, "PureSignal"); }
public void RunAmpv() { ampv = new AmpView(this); Application.Run(ampv); }