Esempio n. 1
0
 private void barButtonItem1_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     using (var frm = new frmWBInventoryDet(_db, null, wb))
     {
         if (frm.ShowDialog() == DialogResult.OK)
         {
             RefreshDet();
         }
     }
 }
Esempio n. 2
0
        private void EditMaterialBtn_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            dynamic dr = InventoryDetGridView.GetFocusedRow();

            using (var frm = new frmWBInventoryDet(_db, dr.PosId, wb))
            {
                if (frm.ShowDialog() == DialogResult.OK)
                {
                    RefreshDet();
                }
            }
        }