private void underlyingHook_MouseWheel(object sender, Silence.Hooking.GlobalMouseEventHandlerArgs e) { if (IsRunning) { AddDelayEvent(); CurrentMacro.AddEvent(new MacroMouseWheelEvent(e.Point, e.Delta)); } }
private void underlyingHook_MouseMove(object sender, Silence.Hooking.GlobalMouseEventHandlerArgs e) { CurrentXY = e.Point; if (IsRunning) { AddDelayEvent(); CurrentMacro.AddEvent(new MacroMouseMoveEvent(e.Point)); } }