Skip to content

Abrir menú contextual en coordenadas puntero

February 20, 2012

  Private Sub tlvScenarios_MouseUp(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles tlvScenarios.MouseUp
        If e.Button = MouseButtons.Right Then
            ContextMenuStrip1.Show(tlvScenarios, New Point(e.X, e.Y))
        End If
    End Sub

From → Controles

Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: