Beispiel #1
0
 private void btnAdd_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     // waiting.ShowWaitForm();
     Forms.frmStore_Update frm = new frmStore_Update();
     //waiting.CloseWaitForm();
     frm.ShowDialog();
     if (frm.save)
     {
         tbStore_Get();
     }
 }
Beispiel #2
0
 private void btnEdit_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     if (gridItemDetail.FocusedRowHandle > -1)
     {
         //waiting.ShowWaitForm();
         string code = gridItemDetail.GetFocusedRowCellValue(colStoreCode).ToString();
         Forms.frmStore_Update frm = new frmStore_Update(code);
        // waiting.CloseWaitForm();
         frm.ShowDialog();
         if (frm.save)
         {
             tbStore_Get();
         }
     }
 }