void SetTexts() { TitleLbl.SetAttributedText(QuestionnaireViewModel.REGISTER_QUESTIONAIRE_HEADER); SubtitleLbl.SetAttributedText(QuestionnaireViewModel.REGISTER_QUESTIONAIRE_SYMPTOMONSET_TEXT); YesLbl.SetAttributedText(QuestionnaireViewModel.REGISTER_QUESTIONAIRE_SYMPTOMONSET_ANSWER_YES, StyleUtil.FontType.FontBold); YesButLbl.SetAttributedText(QuestionnaireViewModel.REGISTER_QUESTIONAIRE_SYMPTOMONSET_ANSWER_YESBUT, StyleUtil.FontType.FontBold); NoLbl.SetAttributedText(QuestionnaireViewModel.REGISTER_QUESTIONAIRE_SYMPTOMONSET_ANSWER_NO, StyleUtil.FontType.FontBold); SkipLbl.SetAttributedText(QuestionnaireViewModel.REGISTER_QUESTIONAIRE_SYMPTOMONSET_ANSWER_SKIP, StyleUtil.FontType.FontBold); UpdateDateLbl(QuestionnaireViewModel.DateLabel); }
void ReleaseDesignerOutlets() { if (ScrollView != null) { ScrollView.Dispose(); ScrollView = null; } if (CloseButton != null) { CloseButton.Dispose(); CloseButton = null; } if (DateContainer != null) { DateContainer.Dispose(); DateContainer = null; } if (DateLbl != null) { DateLbl.Dispose(); DateLbl = null; } if (DatePicker != null) { DatePicker.Dispose(); DatePicker = null; } if (DatepickerStackView != null) { DatepickerStackView.Dispose(); DatepickerStackView = null; } if (InfoButton != null) { InfoButton.Dispose(); InfoButton = null; } if (NextBtn != null) { NextBtn.Dispose(); NextBtn = null; } if (NoBtn != null) { NoBtn.Dispose(); NoBtn = null; } if (NoLargeBtn != null) { NoLargeBtn.Dispose(); NoLargeBtn = null; } if (NoLbl != null) { NoLbl.Dispose(); NoLbl = null; } if (SkipBtn != null) { SkipBtn.Dispose(); SkipBtn = null; } if (SkipLargeBtn != null) { SkipLargeBtn.Dispose(); SkipLargeBtn = null; } if (SkipLbl != null) { SkipLbl.Dispose(); SkipLbl = null; } if (SubtitleLbl != null) { SubtitleLbl.Dispose(); SubtitleLbl = null; } if (TitleLbl != null) { TitleLbl.Dispose(); TitleLbl = null; } if (YesButBtn != null) { YesButBtn.Dispose(); YesButBtn = null; } if (YesButLargeBtn != null) { YesButLargeBtn.Dispose(); YesButLargeBtn = null; } if (YesButLbl != null) { YesButLbl.Dispose(); YesButLbl = null; } if (YesLbl != null) { YesLbl.Dispose(); YesLbl = null; } if (YesSinceBtn != null) { YesSinceBtn.Dispose(); YesSinceBtn = null; } if (YesSinceLargeBtn != null) { YesSinceLargeBtn.Dispose(); YesSinceLargeBtn = null; } }