//navigates to newform from ExtraPrinciple form private void newToolStripMenuItem_Click(object sender, EventArgs e) { //this.Hide(); New_form NM = new New_form(); NM.Show(); }
//navigates to new form from main private void newToolStripMenuItem_Click(object sender, EventArgs e) { //it hides the previous window this.Hide(); //creating an object for new form window New_form NM = new New_form(); //displays the window NM.Show(); }