Example #1
0
 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();
 }
Example #2
0
        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();
        }