标题:MouseMove 切换图片
只看楼主
kaixinsiqi
Rank: 1
等 级:新手上路
帖 子:186
专家分:0
注 册:2006-11-28
 问题点数:0 回复次数:1 
MouseMove 切换图片
在VB.NET中的MouseMove事件怎么切换图片.刚开始用VB.NET,请大家帮帮忙
只实现鼠标移动到picturebox的时候换一张图片
搜索更多相关主题的帖子: MouseMove 
2006-12-04 10:38
bygg
Rank: 16Rank: 16Rank: 16Rank: 16
来 自:乖乖的心中
等 级:版主
威 望:241
帖 子:13555
专家分:3076
注 册:2006-10-23
得分:0 
[CODE]

Private Sub PictureBox1_MouseEnter(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles PictureBox1.MouseEnter
Me.PictureBox1.Image = ImageList1.Images(0)
End Sub

Private Sub PictureBox1_MouseLeave(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles PictureBox1.MouseLeave
Me.PictureBox1.Image = ImageList1.Images(1)
End Sub

[/CODE]

飘过~~
2006-12-04 17:23



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-107109-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.390173 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved