Пример #1
0
        void ReleaseDesignerOutlets()
        {
            if (ScrollView != null)
            {
                ScrollView.Dispose();
                ScrollView = null;
            }

            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;
            }
        }