void ReleaseDesignerOutlets()
 {
     if (directionsButton != null)
     {
         directionsButton.Dispose();
         directionsButton = null;
     }
     if (floorplanView != null)
     {
         floorplanView.Dispose();
         floorplanView = null;
     }
     if (OptionsButton != null)
     {
         OptionsButton.Dispose();
         OptionsButton = null;
     }
     if (returnButton != null)
     {
         returnButton.Dispose();
         returnButton = null;
     }
     if (SearchBar != null)
     {
         SearchBar.Dispose();
         SearchBar = null;
     }
     if (SearchPredictionTable != null)
     {
         SearchPredictionTable.Dispose();
         SearchPredictionTable = null;
     }
 }
示例#2
0
        protected override void Dispose(bool disposing)
        {
            if (!IsDisposed)
            {
                if (disposing)
                {
                    CloseCodeCompletionWindow(this, EventArgs.Empty);
                    CloseInsightWindow(this, EventArgs.Empty);

                    if (FTimer != null)
                    {
                        FTimer.Tick -= TimerTickCB;
                        FTimer.Dispose();
                        FTimer = null;
                    }

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

                    TextChanged -= TextEditorControlTextChangedCB;
                    ActiveTextAreaControl.TextArea.Resize -= FTextEditorControl_ActiveTextAreaControl_TextArea_Resize;
                    ActiveTextAreaControl.SelectionManager.SelectionChanged -= FTextEditorControl_ActiveTextAreaControl_SelectionManager_SelectionChanged;
                }
            }

            base.Dispose(disposing);
        }
        void ReleaseDesignerOutlets()
        {
            if (CustomNavigationBarItem != null)
            {
                CustomNavigationBarItem.Dispose();
                CustomNavigationBarItem = null;
            }

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

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

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

            if (CustomNavigationBar != null)
            {
                CustomNavigationBar.Dispose();
                CustomNavigationBar = null;
            }
        }
 void ReleaseDesignerOutlets()
 {
     if (SearchBar != null)
     {
         SearchBar.Dispose();
         SearchBar = null;
     }
     if (TableView != null)
     {
         TableView.Dispose();
         TableView = null;
     }
 }
 void ReleaseDesignerOutlets()
 {
     if (SearchBar != null)
     {
         SearchBar.Dispose();
         SearchBar = null;
     }
     if (searchDisplayController != null)
     {
         searchDisplayController.Dispose();
         searchDisplayController = null;
     }
 }
示例#6
0
 void ReleaseDesignerOutlets()
 {
     if (CategoryTable != null)
     {
         CategoryTable.Dispose();
         CategoryTable = null;
     }
     if (CoursesTabBarItem != null)
     {
         CoursesTabBarItem.Dispose();
         CoursesTabBarItem = null;
     }
     if (ProfileTabBarItem != null)
     {
         ProfileTabBarItem.Dispose();
         ProfileTabBarItem = null;
     }
     if (SearchBar != null)
     {
         SearchBar.Dispose();
         SearchBar = null;
     }
     if (SearchResultsTable != null)
     {
         SearchResultsTable.Dispose();
         SearchResultsTable = null;
     }
     if (TabBar != null)
     {
         TabBar.Dispose();
         TabBar = null;
     }
     if (TvNoCoursesFound != null)
     {
         TvNoCoursesFound.Dispose();
         TvNoCoursesFound = null;
     }
     if (TvSearchFaulted != null)
     {
         TvSearchFaulted.Dispose();
         TvSearchFaulted = null;
     }
     if (TvSearching != null)
     {
         TvSearching.Dispose();
         TvSearching = null;
     }
 }
示例#7
0
        void ReleaseDesignerOutlets()
        {
            if (NewTask != null)
            {
                NewTask.Dispose();
                NewTask = null;
            }

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

            if (taskListTableView != null)
            {
                taskListTableView.Dispose();
                taskListTableView = null;
            }
        }
 void ReleaseDesignerOutlets()
 {
     if (SearchBar != null)
     {
         SearchBar.Dispose();
         SearchBar = null;
     }
     if (SearchButton != null)
     {
         SearchButton.Dispose();
         SearchButton = null;
     }
     if (SearchResults != null)
     {
         SearchResults.Dispose();
         SearchResults = null;
     }
     if (SearchText != null)
     {
         SearchText.Dispose();
         SearchText = null;
     }
 }
示例#9
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;
            }
        }