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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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