private void btnQLTheLoai_Click(object sender, EventArgs e) { this.Hide(); frmQuanLyTheLoai frmQuanLyNhanVien = new frmQuanLyTheLoai(); frmQuanLyNhanVien.ShowDialog(); this.Show(); }
private void btnThemLoaiSach_ItemClick(object sender, ItemClickEventArgs e) { Form frm = formCheck(typeof(frmQuanLyTheLoai)); if (frm == null) { frmQuanLyTheLoai f = new frmQuanLyTheLoai(); f.MdiParent = this; f.Show(); } else { frm.Activate(); } }