private void quanlytraToolStripMenuItem_Click(object sender, EventArgs e) { NV_Trasach temp = new NV_Trasach(); panelNV.Controls.Add(temp); temp.Dock = DockStyle.Fill; temp.BringToFront(); panelNV.BringToFront(); this.Text = "Quản lý/Trả sách"; }
private void btnQuanLyTraSach_Click(object sender, EventArgs e) { NV_Trasach temp = new NV_Trasach(); panelNV.Controls.Add(temp); temp.Dock = DockStyle.Fill; temp.BringToFront(); panelNV.BringToFront(); this.Text = "Quản lý/Trả sách"; }