public FinalBenefitPage() { this.InitializeComponent(); surveyPage = new SurveyPage(0); randomBenefitList = new ObservableCollection <Benefit>(); for (int i = 0; i < 8; i++) { Random randomGenerator = new Random(); int randomIndex = randomGenerator.Next(0, 4); if (App.SurveyBenefitCollection.FinalBenefitList[i][randomIndex] != null) { randomBenefitList.Add(App.SurveyBenefitCollection.FinalBenefitList[i][randomIndex]); } else { randomBenefitList.Add(new Benefit()); } } }
public SurveyPage3() { this.InitializeComponent(); surveyPage = new SurveyPage(2); }
public TitlePage() { this.InitializeComponent(); surveyPage = new SurveyPage(0); surveyName = App.surveyFolder.Name; }