void SetUIMouseEventArgsInfo(UIMouseEventArgs mouseEventArg, int x, int y, UIMouseButtons button, int delta)
 {
     mouseEventArg.SetEventInfo(
         x, y,
         (UIMouseButtons)button,
         0,
         delta);
 }
Exemple #2
0
        void SetUIMouseEventArgsInfo(UIMouseEventArgs mouseEventArg, int x, int y, UIMouseButtons button, int delta)
        {
            mouseEventArg.SetEventInfo(
                x, y,
                button,
                0,
                delta);

            mouseEventArg.Alt   = _lastKeydownWithAlt;
            mouseEventArg.Shift = _lastKeydownWithShift;
            mouseEventArg.Ctrl  = _lastKeydownWithControl;
        }