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(); } }
private void BtnQuanLyMon_Click(object sender, EventArgs e) { Form frm = new QuanLyMonHoc(); frm.Show(); }