thx MVPbtw,I mean listViewItem's toolTip
解决方案 »
- C#调用C++ dll union如何翻译 在线等!!!
- 怎么监测串口数据
- 各位老师:我的事件怎么产生不出来啊!
- 未将对象引用设置到对象的实例。
- 配置文件怎么搞?
- 怎么设置水晶报表(堆栈型)柱状图每一个柱边框的颜色或宽度?
- word对象模型如何获取选中的表格的Id
- 谁有vs .net 2003 英文版或繁体版,第一个可用给100分
- 为什么我在Visual Studio.net2003添加引用后,还是找不到System.Data.ADO呢?
- 拖动dockPane,视图不更新,怎么破
- 用c#写了一个webserveice服务程序,用客户端程序调用服务程序提供的方法时,提示Access Denide
- 想做一个象Sqlserver创建视图一样的东西。
'显示中英文名Tooltip 即提示信息窗口
'----------------------------------------------------------
Private ToolTip As New ToolTip()
Private Sub CategoryView_MouseMove(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles CategoryView.MouseMove Dim point As New Point(e.X, e.Y)
Dim m_point As Point = CategoryView.PointToClient(point)
'If m_point.Y <= 0 Then
' MsgBox("")
'End If
Dim node As TreeNode = CategoryView.GetNodeAt(e.X, e.Y)
If Not IsNothing(node) Then
If node.Text = "所有行业" Then Exit Sub
ToolTip.AutomaticDelay = 500
Try
Dim tag As DictionaryEntry = node.Tag
Dim name As String = tag.Key
Dim Ename As String = tag.Value
ToolTip.SetToolTip(CategoryView, "行业ID[" & name & "] ")
'| 父行业ID[" & Ename & "]")
Catch ex As System.Exception
Trace.WriteLine("C")
End Try
End If End Sub