Example #1
0
        private void barButtonItem2_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            frmKhuVuc_Add frm = new frmKhuVuc_Add(false, gridView1.GetFocusedRowCellValue("MaKhuVuc").ToString());

            frm.Show();
        }
Example #2
0
        private void barButtonItem1_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            frmKhuVuc_Add frm = new frmKhuVuc_Add(true, "");

            frm.Show();
        }