Nevron .NET Vision
Nevron.Diagram.WinForm Namespace / NMouseEventDelegatorTool Class / UpdateCurrentHandler Method
mouse event arguments


In This Topic
    UpdateCurrentHandler Method (NMouseEventDelegatorTool)
    In This Topic
    Updates the current mouse event handler
    Syntax
    'Declaration
     
    
    Protected Overridable Sub UpdateCurrentHandler( _
       ByVal e As System.Windows.Forms.MouseEventArgs _
    ) 
    'Usage
     
    
    Dim instance As NMouseEventDelegatorTool
    Dim e As System.Windows.Forms.MouseEventArgs
     
    instance.UpdateCurrentHandler(e)
    protected virtual void UpdateCurrentHandler( 
       System.Windows.Forms.MouseEventArgs e
    )

    Parameters

    e
    mouse event arguments
    Remarks
    This method will perform the following actions:

    1. Determine the new event handler. This is either the document node hit by the scene point or the document itself if there is no hit node (the scene point must be inside the document bounds and the view viewport).

    2. If the new handler is different from the current handle and the current handle is valid it will call the OnMouseLeave method of the current handler.

    3. If the new handler is different from the current handle and the new handle is valid it will call the OnMouseEnter method of the new handler.

    4. Update the current handler to be the new handler

    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also