private void button2_Click(object sender, EventArgs e) { this.Hide(); CaptureTest capTest = new CaptureTest(); capTest.ShowDialog(); this.Show(); }
private void caifToolStripMenuItem_Click(object sender, EventArgs e) { this.Hide(); if (capture != null) { capture.Dispose(); } CaptureTest capTestFr = new CaptureTest(); capTestFr.ShowDialog(); this.Close(); }