private void ListUsersRbnBtn_Click(object sender, EventArgs e) { if (PrivilegesManager.GetEventStatues(Calcium_RMS.Events.ListUsers) == EventStatus.Permit) { ListUsers aListUsers = new ListUsers(); __AddTabPage(aListUsers, __ToolsColor); } else { MessageBox.Show(MsgTxt.PrivUserNotAllowedTxt, MsgTxt.InformationCaption, MessageBoxButtons.OK, MessageBoxIcon.Information); } }
private void usersAndPriviligesToolStripMenuItem_Click(object sender, EventArgs e) { if (PrivilegesManager.GetEventStatues(Calcium_RMS.Events.ListUsers) == EventStatus.Permit) { ListUsers aListUser = new ListUsers(); // aListUser.MdiParent = Helper.Instance.ActiveMainWindow; aListUser.Show(); } else { MessageBox.Show(MsgTxt.PrivUserNotAllowedTxt, MsgTxt.InformationCaption, MessageBoxButtons.OK, MessageBoxIcon.Information); } }