private void button1_Click(object sender, EventArgs e) { DeleteStudent std = new DeleteStudent(); std.Show(); this.Hide(); }
private void deleteStudentToolStripMenuItem_Click(object sender, EventArgs e) { DeleteStudent obj5 = new DeleteStudent(); obj5.ShowDialog(); }