大伙教教我吧
怎样才能做到在鼠标移到控件上时,上面的字会显亮或是变色?谢谢先了。
也可发到我的邮箱里daimh0597@sohu.com
Private Sub Label1_MouseMove(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles Label1.MouseMove
Label1.ForeColor = System.Drawing.Color.Red
End Sub
Private Sub Label1_MouseLeave(ByVal sender As Object, ByVal e As System.EventArgs) Handles Label1.MouseLeave
Label1.ForeColor = System.Drawing.Color.DimGray
End Sub