Пример #1
0
 public override void Execute()
 {
     if (OKBRoles.CheckAdminUserPermissions())
     {
         MainFormManager.MainForm.ShowContent(AdministrationClient.Instance);
     }
     else
     {
         MessageBox.Show("You don't have the permissions for administrating the OKB.", "Security check failed", MessageBoxButtons.OK, MessageBoxIcon.Warning);
     }
 }