Example #1
0
        private void heThongToolStripMenuItemQLThamSo_Click(object sender, EventArgs e)
        {
            Form frm = KiemTraTonTai(typeof(FormQuanLyThamSo));

            if (frm != null)
            {
                frm.Activate();
            }
            else
            {
                FormQuanLyThamSo fQLThamSo = new FormQuanLyThamSo();
                fQLThamSo.MdiParent = this;
                fQLThamSo.Show();
            }
        }
Example #2
0
        private void ThamSo_barButtonItem_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            Form frm = KiemTraTonTai(typeof(FormQuanLyThamSo));

            if (frm != null)
            {
                frm.Activate();
            }
            else
            {
                FormQuanLyThamSo fQLThamSo = new FormQuanLyThamSo();
                fQLThamSo.MdiParent = this;
                fQLThamSo.Show();
            }
        }