private void rightMouseUp(MouseHook.MSLLHOOKSTRUCT mouseStruct) { rightDown = false; }
private void rightMouseDown(MouseHook.MSLLHOOKSTRUCT mouseStruct) { if (rightDown == false) { timeRightClicked = DateTime.Now; } rightDown = true; }
private void leftMouseUp(MouseHook.MSLLHOOKSTRUCT mouseStruct) { leftDown = false; }
private void mouseMove(MouseHook.MSLLHOOKSTRUCT mouseStruct) { mouseX = mouseStruct.pt.x; mouseY = mouseStruct.pt.y; }
private void leftMouseDown(MouseHook.MSLLHOOKSTRUCT mouseStruct) { if (leftDown == false) { timeLeftClicked = DateTime.Now; } leftDown = true; }