示例#1
0
        void ReleaseDesignerOutlets()
        {
            if (BackButton != null)
            {
                BackButton.Dispose();
                BackButton = null;
            }

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

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

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

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

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

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

            if (TitleStackView != null)
            {
                TitleStackView.Dispose();
                TitleStackView = null;
            }
        }
示例#2
0
        void ReleaseDesignerOutlets()
        {
            if (DescriptionText != null)
            {
                DescriptionText.Dispose();
                DescriptionText = null;
            }

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

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