コード例 #1
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;
            }
        }
コード例 #2
0
        void ReleaseDesignerOutlets()
        {
            if (CloseBtn != null)
            {
                CloseBtn.Dispose();
                CloseBtn = null;
            }

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

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

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

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

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

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

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

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

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