Ejemplo n.º 1
0
 /// <summary>
 /// 创建鼠标钩子的实例
 /// </summary>
 public MouseHook()
 {
     MouseButton += new DoMouseButtons(Api.mouse_event);
     MouseMove   += new DoMouseMove(Api.SetCursorPos);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// ������깳�ӵ�ʵ��
 /// </summary>
 public MouseHook()
 {
     MouseButton += new DoMouseButtons(Api.mouse_event);
     MouseMove += new DoMouseMove(Api.SetCursorPos);
 }