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