コード例 #1
0
        void ReleaseDesignerOutlets()
        {
            if (IssueBodyLabel != null)
            {
                IssueBodyLabel.Dispose();
                IssueBodyLabel = null;
            }

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

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

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

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

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

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

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

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

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

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

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

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

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