private void StopSimulation() { _isSimulating = false; _simulationTimer.Stop(); SimulationMatrix.Clean(); PlayButton.Image = Icons.play_32; ToolTip.SetToolTip(PlayButton, "Start Simulation"); }
private void StartSimulation() { _isSimulating = true; _currentClipIndex = 0; SimulationMatrix.Clean(); _simulationTimer.Interval = _simulationInterval / _simulationSpeed; _simulationTimer.Start(); PlayButton.Image = Icons.stop_32; ToolTip.SetToolTip(PlayButton, "Stop Simulation"); }