Exemple #1
0
 public static DeptInsert GetInstance()
 {
     if (diform == null || diform.IsDisposed)
     {
         diform = new DeptInsert();
     }
     return(diform);
 }
Exemple #2
0
        private void barButtonItem新增_ItemClick(object sender, ItemClickEventArgs e)
        {
            DeptInsert Frm = DeptInsert.GetInstance();

            Frm.TopLevel = false;
            Frm.Parent   = this;
            Frm.Show();
            Frm.BringToFront();
        }