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