Exemplo n.º 1
0
        void ReleaseDesignerOutlets()
        {
            if (DescriptionLabel != null)
            {
                DescriptionLabel.Dispose();
                DescriptionLabel = null;
            }

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

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

            if (StartView != null)
            {
                StartView.Dispose();
                StartView = null;
            }
        }
Exemplo n.º 2
0
        void ReleaseDesignerOutlets()
        {
            if (DescriptionLabel != null)
            {
                DescriptionLabel.Dispose();
                DescriptionLabel = null;
            }

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

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

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

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

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

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

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

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

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

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

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

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

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

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