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

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