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