Beispiel #1
0
        void ReleaseDesignerOutlets()
        {
            if (AddAllButton != null)
            {
                AddAllButton.Dispose();
                AddAllButton = null;
            }

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

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

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

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

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

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

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

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

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

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

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

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

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

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