C1.Win.C1InputPanel 命名空间 > InputComponent 类 : MouseDown 事件 |
'声明
<C1CategoryAttribute("鼠标")> <C1DescriptionAttribute("当用户在组件上按下鼠标按键时触发。")> Public Event MouseDown As System.Windows.Forms.MouseEventHandler
'用法
Dim instance As InputComponent Dim handler As System.Windows.Forms.MouseEventHandler AddHandler instance.MouseDown, handler
[C1Category("鼠标")] [C1Description("当用户在组件上按下鼠标按键时触发。")] public event System.Windows.Forms.MouseEventHandler MouseDown
public event MouseDown: System.Windows.Forms.MouseEventHandler;
In JScript, you can handle the events defined by another class, but you cannot define your own.
[C1Category("鼠标")] [C1Description("当用户在组件上按下鼠标按键时触发。")] public: __event System.Windows.Forms.MouseEventHandler* MouseDown
[C1Category("鼠标")] [C1Description("当用户在组件上按下鼠标按键时触发。")] public: event System.Windows.Forms.MouseEventHandler^ MouseDown
The event handler receives an argument of type System.Windows.Forms.MouseEventArgs containing data related to this event. The following MouseEventArgs properties provide information specific to this event.
属性 | 说明 |
---|---|
Button | |
Clicks | |
Delta | |
Location | |
X | |
Y |
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2