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

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

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

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

            if (ApplyButton != null)
            {
                ApplyButton.Dispose();
                ApplyButton = null;
            }
        }
Beispiel #2
0
        void ReleaseDesignerOutlets()
        {
            if (PropertiesTableView != null)
            {
                PropertiesTableView.Dispose();
                PropertiesTableView = null;
            }

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

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

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