private bool rolesCheck() { if (!projectSelected || Globals.SelectedProjectProxy == null || Globals.SelectedProjectProxy.ProjectID <= 0) { return(true); } string missingRoles = ProjectFunctions.FindMissingRoles(Globals.SelectedProjectProxy.ProjectID, false); if (missingRoles == "") { return(true); } else { return(MessageFunctions.WarningYesNo("The following key roles are missing for this project: " + missingRoles + ". Are you sure you want to leave them vacant? " + "The project will not be able to progress beyond Initiation until these roles are filled.", "Ignore Vacant Roles?")); } }