Пример #1
0
 public ProjectSectionSimple(ProjectCreateSection projectCreateSection, string sectionUrl, bool isComplete, bool sectionIsUpdated, bool hasCompletionStatus)
 {
     SectionUrl                     = sectionUrl;
     IsComplete                     = isComplete;
     SectionIsUpdated               = sectionIsUpdated;
     SectionDisplayName             = projectCreateSection.ProjectCreateSectionDisplayName;
     SortOrder                      = projectCreateSection.SortOrder;
     HasCompletionStatus            = hasCompletionStatus;
     ProjectWorkflowSectionGrouping = projectCreateSection.ProjectWorkflowSectionGrouping;
 }
Пример #2
0
 protected string SetSelectedSectionStyle(ProjectCreateSection currentSection, ProjectCreateSection selectedProposalSection)
 {
     return(selectedProposalSection == currentSection ? "selected" : "selectable");
 }