private void toolStripButton8_Click(object sender, EventArgs e) { if (MainFormZhiQuanxian != "借阅管理员") { MessageBox.Show("您没有借阅管理员权限,不能进行该功能的相关操作。", "禁止", MessageBoxButtons.OK, MessageBoxIcon.Stop); } else { BookManage bm = new BookManage(); bm.Show(); } }
private void 添加书籍ToolStripMenuItem_Click(object sender, EventArgs e) { BookManage bm = new BookManage(); bm.Show(); }