Esempio n. 1
0
        void ReleaseDesignerOutlets()
        {
            if (CurrentTimeEntryCard != null)
            {
                CurrentTimeEntryCard.Dispose();
                CurrentTimeEntryCard = null;
            }

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

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

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

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

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

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

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

            if (TimelineView != null)
            {
                TimelineView.Dispose();
                TimelineView = null;
            }
        }
        void ReleaseDesignerOutlets()
        {
            if (CurrentTimeEntryCard != null)
            {
                CurrentTimeEntryCard.Dispose();
                CurrentTimeEntryCard = null;
            }

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

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

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

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

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

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

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

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

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

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

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

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

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

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