编程论坛
注册
登录
编程论坛
→
VB.NET论坛
请问treeview中左键点击节点如何弹出对话框?
dante4ever
发布于 2010-11-14 11:36, 948 次点击
刚刚接触vb。net,问题有点儿弱,还请大大们帮帮忙。在线等
1 回复
#2
不说也罢
2010-11-15 17:34
Private
Sub
TreeView1_NodeMouseClick(
ByVal
sender
As
Object
,
ByVal
e
As
System.Windows.Forms.TreeNodeMouseClickEventArgs)
Handles
TreeView1.NodeMouseClick
If
e.Button = Windows.Forms.MouseButtons.Left
Then
MsgBox
(e.Node.Text)
End Sub
1