void ReleaseDesignerOutlets() { if (PropertyName != null) { PropertyName.Dispose(); PropertyName = null; } if (PropertyType != null) { PropertyType.Dispose(); PropertyType = null; } if (PropertyUsage != null) { PropertyUsage.Dispose(); PropertyUsage = null; } if (ValueFromScriptCheckbox != null) { ValueFromScriptCheckbox.Dispose(); ValueFromScriptCheckbox = null; } }