Ejemplo n.º 1
0
        private void danhSáchGiảngViênToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmGiangVien giangVien = new frmGiangVien();

            //this.Hide();
            giangVien.Show();
        }
Ejemplo n.º 2
0
        private void barGiangVien_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            Form frm = this.KiemTraTonTai(typeof(frmGiangVien));

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