private void btnManageStudents_Click(object sender, EventArgs e) { //open manage stuents windows ManageStudentsWindow wnd = new ManageStudentsWindow(this.info.HasDeleteRights); wnd.FormClosed += ((o, s) => { this.Show(); }); wnd.Owner = this; wnd.Show(); this.Hide(); }