Exemplo n.º 1
0
        void ReleaseDesignerOutlets()
        {
            if (BoxContentLabelTwo != null)
            {
                BoxContentLabelTwo.Dispose();
                BoxContentLabelTwo = null;
            }

            if (BoxTitleLabel != null)
            {
                BoxTitleLabel.Dispose();
                BoxTitleLabel = null;
            }

            if (BoxView != null)
            {
                BoxView.Dispose();
                BoxView = null;
            }

            if (CloseButton != null)
            {
                CloseButton.Dispose();
                CloseButton = null;
            }

            if (ContentLabelOne != null)
            {
                ContentLabelOne.Dispose();
                ContentLabelOne = null;
            }

            if (ContentLabelTwo != null)
            {
                ContentLabelTwo.Dispose();
                ContentLabelTwo = null;
            }

            if (HealthAuthoritiesLogo != null)
            {
                HealthAuthoritiesLogo.Dispose();
                HealthAuthoritiesLogo = null;
            }

            if (TitleLabel != null)
            {
                TitleLabel.Dispose();
                TitleLabel = null;
            }

            if (ToStartPageBtn != null)
            {
                ToStartPageBtn.Dispose();
                ToStartPageBtn = null;
            }
        }
Exemplo n.º 2
0
 private void SetStyling()
 {
     TitleLabel.SetAttributedText(QuestionnaireViewModel.REGISTER_QUESTIONAIRE_RECEIPT_HEADER);
     TitleLabel.AccessibilityLabel = QuestionnaireViewModel.REGISTER_QUESTIONAIRE_ACCESSIBILITY_RECEIPT_HEADER;
     ContentLabelOne.SetAttributedText(QuestionnaireViewModel.REGISTER_QUESTIONAIRE_RECEIPT_TEXT);
     ContentLabelTwo.SetAttributedText(QuestionnaireViewModel.REGISTER_QUESTIONAIRE_RECEIPT_DESCRIPTION);
     BoxTitleLabel.SetAttributedText(QuestionnaireViewModel.REGISTER_QUESTIONAIRE_RECEIPT_INNER_HEADER, StyleUtil.FontType.FontBold);
     StyleUtil.InitLabelWithSpacing(BoxContentLabelTwo, StyleUtil.FontType.FontRegular, QuestionnaireViewModel.REGISTER_QUESTIONAIRE_RECEIPT_INNER_READ_MORE, 1.28, 12, 16);
     StyleUtil.InitButtonStyling(ToStartPageBtn, QuestionnaireViewModel.REGISTER_QUESTIONAIRE_RECEIPT_DISMISS);
 }
 private void SetStyling()
 {
     CloseButton.TintColor = ColorHelper.PRIMARY_COLOR;
     TitleLabel.SetAttributedText(QuestionnaireViewModel.REGISTER_QUESTIONAIRE_RECEIPT_HEADER);
     ContentLabelOne.SetAttributedText(QuestionnaireViewModel.REGISTER_QUESTIONAIRE_RECEIPT_TEXT);
     ContentLabelTwo.SetAttributedText(QuestionnaireViewModel.REGISTER_QUESTIONAIRE_RECEIPT_DESCRIPTION);
     BoxTitleLabel.SetAttributedText(QuestionnaireViewModel.REGISTER_QUESTIONAIRE_RECEIPT_INNER_HEADER,
                                     StyleUtil.FontType.FontBold);
     StyleUtil.InitLabelWithSpacing(BoxContentLabelTwo, StyleUtil.FontType.FontRegular,
                                    QuestionnaireViewModel.REGISTER_QUESTIONAIRE_RECEIPT_INNER_READ_MORE, 1.28, 12, 16);
     StyleUtil.InitButtonStyling(ToStartPageBtn, QuestionnaireViewModel.REGISTER_QUESTIONAIRE_RECEIPT_DISMISS);
 }
Exemplo n.º 4
0
        void ReleaseDesignerOutlets()
        {
            if (BackButton != null)
            {
                BackButton.Dispose();
                BackButton = null;
            }

            if (ChooseLanguageHeaderLbl != null)
            {
                ChooseLanguageHeaderLbl.Dispose();
                ChooseLanguageHeaderLbl = null;
            }

            if (ContentLabel != null)
            {
                ContentLabel.Dispose();
                ContentLabel = null;
            }

            if (ContentLabelOne != null)
            {
                ContentLabelOne.Dispose();
                ContentLabelOne = null;
            }

            if (DescriptionLabel != null)
            {
                DescriptionLabel.Dispose();
                DescriptionLabel = null;
            }

            if (Header != null)
            {
                Header.Dispose();
                Header = null;
            }

            if (HeaderLabel != null)
            {
                HeaderLabel.Dispose();
                HeaderLabel = null;
            }

            if (BokmalButton != null)
            {
                BokmalButton.Dispose();
                BokmalButton = null;
            }

            if (BokmalLabel != null)
            {
                BokmalLabel.Dispose();
                BokmalLabel = null;
            }

            if (NynorskButton != null)
            {
                NynorskButton.Dispose();
                NynorskButton = null;
            }

            if (NynorskLabel != null)
            {
                NynorskLabel.Dispose();
                NynorskLabel = null;
            }

            if (EnglishButton != null)
            {
                EnglishButton.Dispose();
                EnglishButton = null;
            }

            if (EnglishLabel != null)
            {
                EnglishLabel.Dispose();
                EnglishLabel = null;
            }

            if (PolishButton != null)
            {
                PolishButton.Dispose();
                PolishButton = null;
            }

            if (PolishLabel != null)
            {
                PolishLabel.Dispose();
                PolishLabel = null;
            }

            if (SomaliButton != null)
            {
                SomaliButton.Dispose();
                SomaliButton = null;
            }

            if (SomaliLabel != null)
            {
                SomaliLabel.Dispose();
                SomaliLabel = null;
            }

            if (TigrinyaButton != null)
            {
                TigrinyaButton.Dispose();
                TigrinyaButton = null;
            }

            if (TigrinyaLabel != null)
            {
                TigrinyaLabel.Dispose();
                TigrinyaLabel = null;
            }

            if (ArabicButton != null)
            {
                ArabicButton.Dispose();
                ArabicButton = null;
            }

            if (ArabicLabel != null)
            {
                ArabicLabel.Dispose();
                ArabicLabel = null;
            }

            if (LithuanianButton != null)
            {
                LithuanianButton.Dispose();
                LithuanianButton = null;
            }

            if (LithuanianLabel != null)
            {
                LithuanianLabel.Dispose();
                LithuanianLabel = null;
            }

            if (UrduButton != null)
            {
                UrduButton.Dispose();
                UrduButton = null;
            }

            if (UrduLabel != null)
            {
                UrduLabel.Dispose();
                UrduLabel = null;
            }

            if (RestartAppLabl != null)
            {
                RestartAppLabl.Dispose();
                RestartAppLabl = null;
            }

            if (SmittestopLinkButtonLbl != null)
            {
                SmittestopLinkButtonLbl.Dispose();
                SmittestopLinkButtonLbl = null;
            }

            if (SmittestopLinkButtonStackView != null)
            {
                SmittestopLinkButtonStackView.Dispose();
                SmittestopLinkButtonStackView = null;
            }

            if (switchButton != null)
            {
                switchButton.Dispose();
                switchButton = null;
            }
        }
Exemplo n.º 5
0
        void ReleaseDesignerOutlets()
        {
            if (BackButton != null)
            {
                BackButton.Dispose();
                BackButton = null;
            }

            if (ChooseLanguageHeaderLbl != null)
            {
                ChooseLanguageHeaderLbl.Dispose();
                ChooseLanguageHeaderLbl = null;
            }

            if (ContentLabel != null)
            {
                ContentLabel.Dispose();
                ContentLabel = null;
            }

            if (ContentLabelOne != null)
            {
                ContentLabelOne.Dispose();
                ContentLabelOne = null;
            }

            if (DescriptionLabel != null)
            {
                DescriptionLabel.Dispose();
                DescriptionLabel = null;
            }

            if (Header != null)
            {
                Header.Dispose();
                Header = null;
            }

            if (HeaderLabel != null)
            {
                HeaderLabel.Dispose();
                HeaderLabel = null;
            }

            if (RadioButton1 != null)
            {
                RadioButton1.Dispose();
                RadioButton1 = null;
            }

            if (RadioButton1Lbl != null)
            {
                RadioButton1Lbl.Dispose();
                RadioButton1Lbl = null;
            }

            if (RadioButton2 != null)
            {
                RadioButton2.Dispose();
                RadioButton2 = null;
            }

            if (RadioButton2Lbl != null)
            {
                RadioButton2Lbl.Dispose();
                RadioButton2Lbl = null;
            }

            if (RadioButton3 != null)
            {
                RadioButton3.Dispose();
                RadioButton3 = null;
            }

            if (RadioButton3Lbl != null)
            {
                RadioButton3Lbl.Dispose();
                RadioButton3Lbl = null;
            }

            if (RestartAppLabl != null)
            {
                RestartAppLabl.Dispose();
                RestartAppLabl = null;
            }

            if (SmittestopLinkButtonLbl != null)
            {
                SmittestopLinkButtonLbl.Dispose();
                SmittestopLinkButtonLbl = null;
            }

            if (SmittestopLinkButtonStackView != null)
            {
                SmittestopLinkButtonStackView.Dispose();
                SmittestopLinkButtonStackView = null;
            }

            if (switchButton != null)
            {
                switchButton.Dispose();
                switchButton = null;
            }
        }