protected void OnDisable() { ObjectPropertySheet propertySheet = m_parent as ObjectPropertySheet; if (propertySheet != null) { propertySheet.OnDisable(); } }
protected void OnElementChanged() { if (ElementChanged != null) { ElementChanged(this, EventArgs.Empty); } // Let the property sheet know as well. ObjectPropertySheet propertySheet = m_parent as ObjectPropertySheet; if (propertySheet != null) { propertySheet.OnElementChanged(); } }