Esempio n. 1
0
 private void barButtonItem2_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     ExamManage.ExamMain exForm = ExamManage.ExamMain.GetStuForm();
     exForm.MdiParent = this;
     exForm.Show();
     exForm.Activate();
 }
Esempio n. 2
0
 public static ExamMain GetStuForm()
 {
     if (form == null || form.IsDisposed)
     {
         form = new ExamMain();
     }
     return(form);
 }