Beispiel #1
0
        public MainWindow()
        {
            InitializeComponent();
            _VM = new ViewModel_SimulationRunner();

            _VM.OnSimulationUpdateEvent += Simulation_OnSimulationUpdateEventReceived;

            this.DataContext = _VM;
        }
Beispiel #2
0
 /// <summary>
 /// Raised when the simulation runner state is updated
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="message"></param>
 private void Simulation_OnSimulationUpdateEventReceived(ViewModel_SimulationRunner sender, string message)
 {
     AppendDebugOutput(message);
 }