Dart.Ftp Namespace > ComponentBase Class : OnUserState Method |
Protected Overridable Sub OnUserState( _ ByVal e As UserStateEventArgs _ )
Dim instance As ComponentBase Dim e As UserStateEventArgs instance.OnUserState(e)
protected virtual void OnUserState( UserStateEventArgs e )
protected: virtual void OnUserState( UserStateEventArgs^ e )
OnUserState allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class, but marshaling is not provided.
Note to Inheritors: When overriding OnUserState in a derived class, be sure to call the base class OnUserState method, so that registered delegates receive the event.
See the SynchronizingObject property for information on updating UI controls in your event handler.