After
this.Close();
, you exit the application because
this
is the main form. Try this:
private void ProceedButton_Click(object sender, EventArgs e)
{
TestCreator TestCrt = new TestCreator();
this.Hide();
TestCrt.ShowDialog();
this.Close();
}
If you call
ShowDialog
, your program wait until
TestCrt
is closed. If you call
Show
,
this.Close();
is called immediately, also if
TestCrt isn't closed.