コード例 #1
0
        private void bbiThem_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            frmKhoHang_Them_Sua frm = new frmKhoHang_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;
            }
            frmKhoHang_Them_Sua frm = new frmKhoHang_Them_Sua(Convert.ToInt64(ma));

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