Пример #1
0
 public static IndirectLabourPriceUpdate GetInstance()
 {
     if (ilpuform == null || ilpuform.IsDisposed)
     {
         ilpuform = new IndirectLabourPriceUpdate();
     }
     ilpuform.ShowDetail();
     return(ilpuform);
 }
Пример #2
0
 private void barButtonItem修改_ItemClick(object sender, ItemClickEventArgs e)
 {
     if (IndirectLabourPriceQuery.GetRowCount() > 0)
     {
         IndirectLabourPriceUpdate Frm = IndirectLabourPriceUpdate.GetInstance();
         Frm.TopLevel = false;
         Frm.Parent   = this;
         Frm.Show();
         Frm.BringToFront();
     }
 }
Пример #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();
     }
 }