コード例 #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;
            }
        }
コード例 #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;
            }
        }
コード例 #3
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;
            }
        }