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

            if (EndDateLabel != null)
            {
                EndDateLabel.Dispose();
                EndDateLabel = null;
            }
        }
Esempio n. 2
0
        void ReleaseDesignerOutlets()
        {
            if (CloseButton != null)
            {
                CloseButton.Dispose();
                CloseButton = null;
            }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            if (ColorsLegendContainerView != null)
            {
                ColorsLegendContainerView.Dispose();
                ColorsLegendContainerView = null;
            }
        }
Esempio n. 4
0
        void ReleaseDesignerOutlets()
        {
            if (BarChartCardView != null)
            {
                BarChartCardView.Dispose();
                BarChartCardView = null;
            }

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

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

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

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

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

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

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

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

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

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

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