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

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