コード例 #1
0
        private void TsbThem_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            E000004 frm = new E000004();

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

            if (rc != null)
            {
                E000004 frm = new E000004();
                frm.CurrentObj = rc;
                frm.ShowDialog();
                TsbTimKiem.PerformClick();
            }
        }
コード例 #3
0
        private void TsbSaoChep_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            var rc = gridMonHoc.GetFocusedRow() as EX_DanhMuc;

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