Dart.Ssh Namespace > SshConnection Class : OnStateChanged Method |
'Declaration Protected Overridable Sub OnStateChanged( _ ByVal e As BaseEventArgs _ )
'Usage Dim instance As SshConnection Dim e As BaseEventArgs instance.OnStateChanged(e)
protected virtual void OnStateChanged( BaseEventArgs e )
protected: virtual void OnStateChanged( BaseEventArgs* e )
protected: virtual void OnStateChanged( BaseEventArgs^ e )
Note to Inheritors: When overriding StateChanged in a derived class, be sure to call the base class StateChanged method so that registered delegates receive the event.
See the ComponentBase.SynchronizingObject property for important information on updating UI controls from within derived classes.