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

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

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

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

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

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

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

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

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

            if (activeNotificationsButton != null)
            {
                activeNotificationsButton.Dispose();
                activeNotificationsButton = null;
            }
        }
示例#2
0
        void ReleaseDesignerOutlets()
        {
            if (activeNotificationsButton != null)
            {
                activeNotificationsButton.Dispose();
                activeNotificationsButton = null;
            }

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

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

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

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

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

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

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

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

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

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

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

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