示例#1
0
 private void rightMouseUp(MouseHook.MSLLHOOKSTRUCT mouseStruct)
 {
     rightDown = false;
 }
示例#2
0
 private void rightMouseDown(MouseHook.MSLLHOOKSTRUCT mouseStruct)
 {
     if (rightDown == false)
     {
         timeRightClicked = DateTime.Now;
     }
     rightDown = true;
 }
示例#3
0
 private void leftMouseUp(MouseHook.MSLLHOOKSTRUCT mouseStruct)
 {
     leftDown = false;
 }
示例#4
0
 private void mouseMove(MouseHook.MSLLHOOKSTRUCT mouseStruct)
 {
     mouseX = mouseStruct.pt.x;
     mouseY = mouseStruct.pt.y;
 }
示例#5
0
 private void leftMouseDown(MouseHook.MSLLHOOKSTRUCT mouseStruct)
 {
     if (leftDown == false)
     {
         timeLeftClicked = DateTime.Now;
     }
     leftDown = true;
 }