protected override bool OnKeyDown(InputState state, KeyDownEventArgs args) { switch (args.Key) { case Key.Right: beatDivisor.Next(); OnUserChange(); return(true); case Key.Left: beatDivisor.Previous(); OnUserChange(); return(true); default: return(false); } }
protected override bool OnKeyDown(KeyDownEvent e) { switch (e.Key) { case Key.Right: beatDivisor.Next(); OnUserChange(); return(true); case Key.Left: beatDivisor.Previous(); OnUserChange(); return(true); default: return(false); } }