示例#1
0
 private bool ProcessRawMouseWheelEvent(RawMouseWheelEventArgs rawEventArgs)
 {
     return Target.RaiseEvents(
         new MouseWheelEventArgs(Mouse.PreviewMouseWheelEvent, Target, this, rawEventArgs.Timestamp, rawEventArgs.Position, rawEventArgs.Delta),
         new MouseWheelEventArgs(Mouse.MouseWheelEvent, Target, this, rawEventArgs.Timestamp, rawEventArgs.Position, rawEventArgs.Delta));
 }
示例#2
0
 private bool ProcessRawMouseWheelEvent(RawMouseWheelEventArgs rawEventArgs)
 {
     return(Target.RaiseEvents(
                new MouseWheelEventArgs(Mouse.PreviewMouseWheelEvent, Target, this, rawEventArgs.Timestamp, rawEventArgs.Position, rawEventArgs.Delta),
                new MouseWheelEventArgs(Mouse.MouseWheelEvent, Target, this, rawEventArgs.Timestamp, rawEventArgs.Position, rawEventArgs.Delta)));
 }