Beispiel #1
0
                public ClickEventArgs(WinAPI.MSLLHOOKSTRUCT Struct, bool button)
                {
                    X = Struct.pt.x;
                    Y = Struct.pt.y;

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

                    Left  = left;
                    Right = right;
                }