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

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