Example #1
0
        private void barbtnMH_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            QuanLyMonHoc mh = new QuanLyMonHoc();

            if (Application.OpenForms[mh.Name] == null)
            {
                mh.MdiParent = this;
                mh.Show();
            }
            else
            {
                Application.OpenForms[mh.Name].Focus();
            }
        }
Example #2
0
        private void BtnQuanLyMon_Click(object sender, EventArgs e)
        {
            Form frm = new QuanLyMonHoc();

            frm.Show();
        }