Example #1
0
 private void Save()
 {
     try
     {
         editData = eadapter.GetData();
         G.BLL.ERP.BaseData.DM_INVCLASSLogic logic = new BLL.ERP.BaseData.DM_INVCLASSLogic();
         logic.ExecuteUpdate(editData);
         MessageBox.Show("保存成功!");
     }
     catch (Exception e) { MessageBox.Show(e.Message); }
 }
Example #2
0
 private void New()
 {
     editData = new DM_INVCLASS();
     this.LoadData();
 }
Example #3
0
 public void SetData(DM_INVCLASS data)
 {
     editData = data;
     LoadData();
 }