private void btnViewMyChildren_Click(object sender, EventArgs e) { //open view window ParentStudentsWindow wnd = new ParentStudentsWindow(this.ParentID); wnd.FormClosed += ((o, s) => { this.Show(); }); wnd.Owner = this; wnd.Show(); this.Hide(); }