예제 #1
0
        void ReleaseDesignerOutlets()
        {
            if (BarChartContainerView != null)
            {
                BarChartContainerView.Dispose();
                BarChartContainerView = null;
            }

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

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

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

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

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

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

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

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

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

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

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

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

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

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