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

            frm.ShowDialog();
            TsbTimKiem.PerformClick();
        }
Exemple #2
0
        private void TsbSua_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            var rc = gridPhan.GetFocusedRow() as EX_DanhMuc;

            if (rc != null)
            {
                E000006 frm = new E000006();
                frm.CurrentObj = rc;
                frm.ShowDialog();
                TsbTimKiem.PerformClick();
            }
        }
Exemple #3
0
        private void TsbSaoChep_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            var rc = gridPhan.GetFocusedRow() as EX_DanhMuc;

            if (rc != null)
            {
                E000006 frm = new E000006();
                var     kl  = (EX_DanhMuc)UICommon.CloneObject(rc);
                kl.Id          = 0;
                frm.CurrentObj = kl;
                frm.ShowDialog();
                TsbTimKiem.PerformClick();
            }
        }