Visual Basic (Declaration) | |
---|---|
Public Event ObjectChanged As EventHandler(Of Medical3DObjectEventArgs) |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As Medical3DControl Dim handler As EventHandler(Of Medical3DObjectEventArgs) AddHandler instance.ObjectChanged, handler |
C# | |
---|---|
public event EventHandler<Medical3DObjectEventArgs> ObjectChanged |
C++/CLI | |
---|---|
public: event EventHandler<Medical3DObjectEventArgs^>^ ObjectChanged |
The event handler receives an argument of type Medical3DObjectEventArgs containing data related to this event. The following Medical3DObjectEventArgs properties provide information specific to this event.
Property | Description |
---|---|
ObjectIndex | (Read only) Gets the index of the object being changed by various object actions. |
To enable the Action, use the Leadtools.MedicalViewer.MedicalViewerBaseCell.AddAction(Leadtools.MedicalViewer.MedicalViewerActionType) method to add the action to the Medical3DControl. Then use the Leadtools.MedicalViewer.MedicalViewerBaseCell.SetAction(Leadtools.MedicalViewer.MedicalViewerActionType,Leadtools.MedicalViewer.MedicalViewerMouseButtons,Leadtools.MedicalViewer.MedicalViewerActionFlags) to associate the action with a mouse button.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7