Vertragsverwaltung-Klassenbibliothek  

frmServicekatalog.treeServiceKatalog_MouseDown -Methode

[Visual Basic]
Private Sub treeServiceKatalog_MouseDown( _ 
ByVal sender As Object, _ 
ByVal e As MouseEventArgs
) Handles _ 
treeServiceKatalog.MouseDown

Parameter

sender
e

Quellcode

[Visual Basic]
    Private Sub treeServiceKatalog_MouseDown(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles treeServiceKatalog.MouseDown 
Try 
check_changes() 
Dim selectPoint As New System.Drawing.Point() 
 
Dim mouseEvents As MouseEventArgs 
mouseEvents = e 
selectPoint.Y = mouseEvents.Y 
selectPoint.X = mouseEvents.X 
Me.treeServiceKatalog.SelectedNode = Me.treeServiceKatalog.GetNodeAt(selectPoint) 
If IsNothing(Me.treeServiceKatalog.SelectedNode) Then 
Me.NeueLeistungToolStripMenuItem.Enabled = False 
Else 
If Me.TSBtnSave.Enabled = True Then Me.NeueLeistungToolStripMenuItem.Enabled = True 
End If 
Catch ex As Exception 
MsgBox(ex.Message) 
End Try 
End Sub

Forderungen

Plattformen: Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

Siehe auch

frmServicekatalog