private void button7_Click(object sender, EventArgs e) { AutoTest newForm = new AutoTest(this); //// if (newForm.ShowDialog(this) != DialogResult.OK) // // return; newForm.Show(); //Thread formNewTh = new Thread(new ThreadStart(StartNewWindow)); //formNewTh.Start(); }
private void button7_Click(object sender, EventArgs e) { AutoTest newForm = new AutoTest(this); if (newForm.ShowDialog(this) != DialogResult.OK) { return; } //newForm.Show(); }