Dart.Ftp Namespace > Ftp Class : OnCopy Method |
Protected Overridable Sub OnCopy( _ ByVal e As CopyEventArgs _ )
Dim instance As Ftp Dim e As CopyEventArgs instance.OnCopy(e)
protected virtual void OnCopy( CopyEventArgs e )
protected: virtual void OnCopy( CopyEventArgs^ e )
The OnCopy method 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 OnCopy in a derived class, be sure to call the base class OnCopy method, so that registered delegates receive the event.
See the SynchronizingObject property for information on updating UI controls in your event handler.