private void btnChildProgress_Click(object sender, EventArgs e) { //student progress window StudentProgressOnSubjWindow wnd = new StudentProgressOnSubjWindow(this.StudentID); wnd.FormClosed += ((o, s) => { this.Show(); }); wnd.Owner = this; wnd.Show(); this.Hide(); }