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

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

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

            if (TimelogsLabel != null)
            {
                TimelogsLabel.Dispose();
                TimelogsLabel = null;
            }
        }
コード例 #2
0
        void ReleaseDesignerOutlets()
        {
            if (AmountOfTasksLabel != null)
            {
                AmountOfTasksLabel.Dispose();
                AmountOfTasksLabel = null;
            }

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

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

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

            if (ToggleTaskImage != null)
            {
                ToggleTaskImage.Dispose();
                ToggleTaskImage = null;
            }
        }
コード例 #3
0
        void ReleaseDesignerOutlets()
        {
            if (AmountOfTasksLabel != null)
            {
                AmountOfTasksLabel.Dispose();
                AmountOfTasksLabel = null;
            }

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

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

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

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

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

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

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

            if (ToggleTasksButton != null)
            {
                ToggleTasksButton.Dispose();
                ToggleTasksButton = null;
            }
        }
コード例 #4
0
        internal AssetProjectExpandedWidget(ProjectAsset asset)
        {
            Build();

            Asset = asset;

            ProjectNameLabel.ModifyFont(new FontDescription {
                Weight = Weight.Bold
            });
            ProjectNameLabel.Text = Asset.Project.Name;

            PopulateAssetItems();

            ShowAll();
        }
        void ReleaseDesignerOutlets()
        {
            if (CommentLabel != null)
            {
                CommentLabel.Dispose();
                CommentLabel = null;
            }

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

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

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

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

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

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

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

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

            if (TaskNameLabel != null)
            {
                TaskNameLabel.Dispose();
                TaskNameLabel = null;
            }
        }
コード例 #6
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;
            }
        }