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

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

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

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

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

            if (TableView != null)
            {
                TableView.Dispose();
                TableView = null;
            }
        }
Ejemplo n.º 2
0
        void ReleaseDesignerOutlets()
        {
            if (AddProjectAndTaskView != null)
            {
                AddProjectAndTaskView.Dispose();
                AddProjectAndTaskView = null;
            }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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