鼠标移动事件 [英] Mouse move event

查看:81
本文介绍了鼠标移动事件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我已经创建了自己的用户控件,该控件实现了另一个控件,另一个控件没有任何鼠标事件.如何创建鼠标移动事件?

请注意,

Loftty

Hi All,

I have create my own user control which implements another control, the other control does not have any mouse events. How can I create a mouse move event?

Regards,

Loftty

推荐答案

我认为您必须从
首先创建一个委托:例如:
I think you have to raise an event from the control you are creating.
First create a delegate: for instance:
<表格样式=" border-width:0px; margin:2px 0px; width:99%; border-collapse:collapse; background-color:rgb(255,255,255)"cellpadding = 0 cellspacing = 0>

这篇关于鼠标移动事件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆