private void VelocityChanged(object obj, VelocChangedEventArg arg) { _timer.Interval = new TimeSpan(0, 0, 0, 0, (int)(600 / arg.Vel)); }
private static void VelocityChanged(object obj, VelocChangedEventArg arg) { Timer.Interval = 600 / arg.Vel; }