Пример #1
0
 void barBtnNew_ItemClick(object sender, ItemClickEventArgs e)
 {
     var vw = new MaterialIvtCheckView();
     vw.EditMode = EnViewEditMode.New;
     if (vw.ShowDialog() == DialogResult.OK)
     {
         barBtnRefresh_ItemClick(null, null);
     }
 }
Пример #2
0
 void barBtnEdt_ItemClick(object sender, ItemClickEventArgs e)
 {
     var et = gcInStockMarter.GetFocusedDataSource<UltraDbEntity.T_ERP_MaterialCheckMaster>();
     var vw = new MaterialIvtCheckView();
     vw.EditMode = EnViewEditMode.Edit;
     vw.Ent = et;
     if (vw.ShowDialog() == DialogResult.OK)
     {
         barBtnRefresh_ItemClick(null, null);
     }
 }