Nevron .NET Vision
Nevron.Diagram.WinForm Namespace / NController Class / GetMouseEventFromButtonEvent Method
true if this is a button down event, otherwise false
mouse event arguments


In This Topic
    GetMouseEventFromButtonEvent Method
    In This Topic
    Obtains a known mouse event from the specified mouse event arguments
    Syntax
    'Declaration
     
    
    Protected Overridable Function GetMouseEventFromButtonEvent( _
       ByVal buttonDown As System.Boolean, _
       ByVal e As System.Windows.Forms.MouseEventArgs _
    ) As MouseEvent
    'Usage
     
    
    Dim instance As NController
    Dim buttonDown As System.Boolean
    Dim e As System.Windows.Forms.MouseEventArgs
    Dim value As MouseEvent
     
    value = instance.GetMouseEventFromButtonEvent(buttonDown, e)
    protected virtual MouseEvent GetMouseEventFromButtonEvent( 
       System.bool buttonDown,
       System.Windows.Forms.MouseEventArgs e
    )

    Parameters

    buttonDown
    true if this is a button down event, otherwise false
    e
    mouse event arguments

    Return Value

    known mouse event
    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