private void 项OToolStripMenuItem_Click(object sender, EventArgs e) { if (!loginMode || !sysLogin) { MessageBox.Show("只有管理员有此权限", "提示信息", MessageBoxButtons.OK, MessageBoxIcon.Information); return; } DeleteBookForm DeleteBookFm = new DeleteBookForm(); DeleteBookFm.ShowDialog(); }
private void 选项OToolStripMenuItem_Click(object sender, EventArgs e) { if (!loginMode || !sysLogin) { MessageBox.Show("只有管理员有此权限", "提示信息", MessageBoxButtons.OK, MessageBoxIcon.Information); return; } DeleteBookForm DeleteBookFm = new DeleteBookForm(); DeleteBookFm.ShowDialog(); }