//New project button click event private void newToolStripMenuItem1_Click(object sender, EventArgs e) { var form = new NewProject(false, this); form.Show(); this.Hide(); }
//New project button click event private void newButton_Click(object sender, EventArgs e) { var form = new NewProject(true, null, this); form.Show(); this.Hide(); }