public ClickEventArgs(WinAPI.MSLLHOOKSTRUCT Struct, bool button) { X = Struct.pt.x; Y = Struct.pt.y; Button = (button ? MouseButton.Left : MouseButton.Right); }
public ScrollEventArgs(WinAPI.MSLLHOOKSTRUCT Struct, bool left, bool right) { X = Struct.pt.x; Y = Struct.pt.y; Delta = Struct.mouseData; Left = left; Right = right; }