private void tool_UserPopedom_Click(object sender, EventArgs e) { if (ModuleClass.MyModule.User_ID.Trim() == "0001") { MessageBox.Show("不能修改超级用户权限。"); return; } F_UserPope FrmUserPope = new F_UserPope(); FrmUserPope.Text = "用户权限设置"; FrmUserPope.ShowDialog(this); }
private void toolStripButton4_Click(object sender, EventArgs e) { if (ModuleClass.MyModule.User_ID == "") { MessageBox.Show("您未选中数据!"); return; } F_UserPope FrmUserPope = new F_UserPope(); FrmUserPope.Text = "用户权限设置"; FrmUserPope.ShowDialog(); }