예제 #1
0
        private void bbiThem_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            frmHangHoa_Them_Sua frm = new frmHangHoa_Them_Sua();

            frm.Reload += frm_Reload;
            frm.ShowDialog();
        }
예제 #2
0
        private void bbiSua_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            var ma = gbList.GetFocusedRowCellValue(colId);

            if (ma == null)
            {
                return;
            }
            frmHangHoa_Them_Sua frm = new frmHangHoa_Them_Sua(Convert.ToInt64(ma));

            frm.Reload += frm_Reload;
            frm.ShowDialog();
        }