Esempio n. 1
0
 public static InDirectLabourLevelPriceInsert GetInstance()
 {
     if (ilpiform == null || ilpiform.IsDisposed)
     {
         ilpiform = new InDirectLabourLevelPriceInsert();
     }
     return(ilpiform);
 }
Esempio n. 2
0
        private void barButtonItem新增_ItemClick(object sender, ItemClickEventArgs e)
        {
            InDirectLabourLevelPriceInsert Frm = InDirectLabourLevelPriceInsert.GetInstance();

            Frm.TopLevel = false;
            Frm.Parent   = this;
            Frm.Show();
            Frm.BringToFront();
        }
Esempio n. 3
0
 private void barButtonItem保存_ItemClick(object sender, ItemClickEventArgs e)
 {
     if (savetype == "insert")
     {
         InDirectLabourLevelPriceInsert.Save();
         InDirectLabourLevelPriceInsert.MyClose();
     }
     else if (savetype == "update")
     {
         InDirectLabourLevelPriceUpdate.Save();
         InDirectLabourLevelPriceUpdate.MyClose();
     }
 }