Exemple #1
0
        void ReleaseDesignerOutlets()
        {
            if (ProgressView != null)
            {
                ProgressView.Dispose();
                ProgressView = null;
            }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            if (VenuesMapView != null)
            {
                VenuesMapView.Dispose();
                VenuesMapView = null;
            }
        }
        void ReleaseDesignerOutlets()
        {
            if (btnCloseBg != null)
            {
                btnCloseBg.Dispose();
                btnCloseBg = null;
            }

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

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

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

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

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

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

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

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

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

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