Leadtools.Windows.Annotations Namespace > AnnContainer Class : OnMouseDoubleClick Method |
protected virtual void OnMouseDoubleClick( MouseButtonEventArgs e )
'Declaration Protected Overridable Sub OnMouseDoubleClick( _ ByVal e As MouseButtonEventArgs _ )
'Usage Dim instance As AnnContainer Dim e As MouseButtonEventArgs instance.OnMouseDoubleClick(e)
protected: virtual void OnMouseDoubleClick( MouseButtonEventArgs^ e )
Raising an event invokes the event handler through a delegate.
The OnMouseDoubleClick method also allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class.
Notes to Inheritors: When overriding OnMouseDoubleClick in a derived class, be sure to call the base class's OnMouseDoubleClick method so that registered delegates receive the event.