Generates the code for the bound events of the control. Subclasses can override if their persistence mechanism is different (e.g. Web Forms)
[Visual Basic] Overridable Protected Sub GenerateEvents( _ ByVal component As IComponent, _ ByVal objectName() As String, _ ByVal eventPropertyService As IEventPropertyService, _ ByVal statements As ObjectList _ ) [C#] protected virtual void GenerateEvents( IComponent component, string[] objectName, IEventPropertyService eventPropertyService, ObjectList statements ); [C++] protected: virtual void GenerateEvents( IComponent* component, String* objectName[], IEventPropertyService* eventPropertyService, ObjectList* statements ); [JScript] protected function GenerateEvents( component : IComponent, objectName : String[], eventPropertyService : IEventPropertyService, statements : ObjectList );
ComponentModelPersister Class | ComponentModelPersister Members | System.ComponentModel.Design Namespace