LEADTOOLS Annotations for WPF and Silverlight (Leadtools.Windows.Annotations assembly)

OnRun Method (AnnRunDesigner)

LEADTOOLS SDK Help  |  





An AnnRunDesignerEventArgs that contains the event data.
Raises the Run event.
Syntax
protected virtual void OnRun( 
   AnnRunDesignerEventArgs e
)
protected:
virtual void OnRun( 
   AnnRunDesignerEventArgs^ e
) 
'Declaration
 
Protected Overridable Sub OnRun( _
   ByVal e As AnnRunDesignerEventArgs _
) 
 
'Usage
 
Dim instance As AnnRunDesigner
Dim e As AnnRunDesignerEventArgs
 
instance.OnRun(e)

Parameters

e
An AnnRunDesignerEventArgs that contains the event data.
Remarks
Raising an event invokes the event handler through a delegate. The OnRun 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 OnRun in a derived class, be sure to call the base class's OnRun method so that registered delegates receive the event.
Example

For C#/VB examples, refer to AnnRunDesigner.

Requirements

Target Platforms

See Also

Reference

AnnRunDesigner Class
AnnRunDesigner Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.