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

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