Esempio n. 1
0
        void ReleaseDesignerOutlets()
        {
            if (BackArrow != null)
            {
                BackArrow.Dispose();
                BackArrow = null;
            }

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

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

            if (TitleLabel != null)
            {
                TitleLabel.Dispose();
                TitleLabel = null;
            }
        }
Esempio n. 2
0
        void ReleaseDesignerOutlets()
        {
            if (BackArrow != null)
            {
                BackArrow.Dispose();
                BackArrow = null;
            }

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

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

            if (PageTitle != null)
            {
                PageTitle.Dispose();
                PageTitle = null;
            }
        }
 private void SetTexts()
 {
     HeaderLabel.SetAttributedText(HEADER_TEXT);
     BodyText1.SetAttributedText(CONSENT3_BODYTEXT_1);
     StyleUtil.InitLabel(ShareHeader, StyleUtil.FontType.FontBold, CONSENT3_SHAREDATA_HEADER, 16, 22);
     BodyText2.SetAttributedText(CONSENT3_BODYTEXT_2);
     ConsentEU_Explanation.SetAttributedText(CONSENT3_EU_CONSENT_BUTTON_BODYTEXT);
     Consent_onlyNorway_Explanation.SetAttributedText(CONSENT3_ONLY_NORWAY_CONSENT_BUTTON_BODYTEXT);
     StyleUtil.InitLabel(ConsentText, StyleUtil.FontType.FontItalic, CONSENT3_CONSENTTOSHARE, 16, 22);
 }
Esempio n. 4
0
        void ReleaseDesignerOutlets()
        {
            if (ScrollView != null)
            {
                ScrollView.Dispose();
                ScrollView = null;
            }

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

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

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

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

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

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

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

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

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

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