}//end of exit // new account from menu private void newAccountToolStripMenuItem_Click(object sender, EventArgs e) { using (NewAccount na = new NewAccount(this)) { na.ShowDialog(); this.Close(); } }//end of new account
private void newAccountToolStripMenuItem_Click(object sender, EventArgs e) { using (NewAccount na = new NewAccount()) { // bring up Add Employee na.OnStudentAdd += StudentAdd; na.ShowDialog(); this.Hide(); } }