Ejemplo n.º 1
0
 // Останавливает демонстрацию
 private void Stop()
 {
     if (isPlaying)
     {
         momentum.StopSimulation();
         isPlaying         = false;
         playBtn.IsEnabled = true;
         stopBtn.IsEnabled = false;
     }
 }