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

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

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

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

            if (TopCalendarConstraint != null)
            {
                TopCalendarConstraint.Dispose();
                TopCalendarConstraint = null;
            }
        }
Example #2
0
        void ReleaseDesignerOutlets()
        {
            if (BarChartsContainerView != null)
            {
                BarChartsContainerView.Dispose();
                BarChartsContainerView = null;
            }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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