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

            frm.Reload += (s) =>
            {
                bbiXem_ItemClick(this, null);
            };
            frm.ShowDialog();
        }
Exemple #2
0
        private void bbiSua_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            var ma = gbList.GetFocusedRowCellValue(colMa_Chung_Tu);

            if (ma == null)
            {
                return;
            }
            frmThuChi_Them_Sua frm = new frmThuChi_Them_Sua(ma.ToString());

            frm.Reload += (s) =>
            {
                bbiXem_ItemClick(this, null);
            };
            frm.ShowDialog();
        }