Exemple #1
0
 private void InitializeTimer()
 {
     ClockTimer           = new DispatcherTimer();
     ClockTimer.Tick     += (o, a) => EntityCollection.ExecuteEntities();
     ClockTimer.Interval  = TimeSpan.FromMilliseconds(40);
     ClockTimer.IsEnabled = true;
 }