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

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

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

            if (Label3 != null)
            {
                Label3.Dispose();
                Label3 = null;
            }
        }
        void ReleaseDesignerOutlets()
        {
            if (CloseButton != null)
            {
                CloseButton.Dispose();
                CloseButton = null;
            }

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

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

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

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

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

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

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

            if (ErrorMessageLabel != null)
            {
                ErrorMessageLabel.Dispose();
                ErrorMessageLabel = null;
            }
        }
        void ReleaseDesignerOutlets()
        {
            if (btnListView != null)
            {
                btnListView.Dispose();
                btnListView = null;
            }

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

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

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

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

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

            if (locationtabHeaderView != null)
            {
                locationtabHeaderView.Dispose();
                locationtabHeaderView = null;
            }
        }
        void ReleaseDesignerOutlets()
        {
            if (actionsButton != null)
            {
                actionsButton.Dispose();
                actionsButton = null;
            }

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

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

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

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

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

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

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

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

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