- control
- The control where the objects are rendered.
- args
- System.Windows.Forms.MouseEventArgs that represents the arguments that are received through one of the mouse events. You must pass the mouse event arguments that were received from the various mouse events, such as MouseDown, MouseUp, MouseMove, etc.
- objectIndex
- index of the object that will receive the effects of handling the mouse event through this method.
Visual Basic (Declaration) | |
---|---|
Public Sub HandleMouseUp( _ ByVal control As Control, _ ByVal args As MouseEventArgs, _ ByVal objectIndex As Integer _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As Medical3DContainer Dim control As Control Dim args As MouseEventArgs Dim objectIndex As Integer instance.HandleMouseUp(control, args, objectIndex) |
C# | |
---|---|
public void HandleMouseUp( Control control, MouseEventArgs args, int objectIndex ) |
C++/CLI | |
---|---|
public: void HandleMouseUp( Control^ control, MouseEventArgs^ args, int objectIndex ) |
Parameters
- control
- The control where the objects are rendered.
- args
- System.Windows.Forms.MouseEventArgs that represents the arguments that are received through one of the mouse events. You must pass the mouse event arguments that were received from the various mouse events, such as MouseDown, MouseUp, MouseMove, etc.
- objectIndex
- index of the object that will receive the effects of handling the mouse event through this method.
For an example refer to HandleMouseDown.
This method will automatically handle complicated mouse tasks and will perform the preset actions.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7