←Select platform

MedicalViewerCellMouseEventArgs Constructor

Summary

Initializes a new instance of the MedicalViewerCellMouseEventArgs class with explicit parameters.

Syntax

C#
VB
C++
public MedicalViewerCellMouseEventArgs( 
   int cellIndex, 
   int subCellIndex, 
   Rectangle rectangle, 
   Rectangle imageRectangle, 
   MouseButtons button, 
   int clicks, 
   int x, 
   int y, 
   int delta 
) 
  
Public Function New( _ 
   ByVal cellIndex As Integer, _ 
   ByVal subCellIndex As Integer, _ 
   ByVal rectangle As Rectangle, _ 
   ByVal imageRectangle As Rectangle, _ 
   ByVal button As MouseButtons, _ 
   ByVal clicks As Integer, _ 
   ByVal x As Integer, _ 
   ByVal y As Integer, _ 
   ByVal delta As Integer _ 
) 
             
            public: 
MedicalViewerCellMouseEventArgs(  
   int cellIndex, 
   int subCellIndex, 
   Rectangle rectangle, 
   Rectangle imageRectangle, 
   MouseButtons button, 
   int clicks, 
   int x, 
   int y, 
   int delta 
) 
             

Parameters

cellIndex
The zero-based index of the cell that received the mouse event.

subCellIndex
The zero-based index of the sub-cell that received the mouse event.

rectangle
The System.Drawing.Rectangle that represents the painting area of the cell or sub-cell.

imageRectangle
The System.Drawing.Rectangle that represents the image rectangle of the cell or sub-cell.

button
One of the System.Windows.Forms.MouseButtons values indicating which mouse button was used to fire this event.

clicks
The number of times a mouse button was pressed.

x
The x-coordinate of the mouse click, in pixels.

y
The y-coordinate of the mouse click, in pixels.

delta
A signed count of the number of detents the wheel has rotated.

Example

For an example, refer to MedicalViewerCellMouseEventArgs

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.MedicalViewer Assembly