private void ExecuteStartSimulationCommand(CancelEventArgs obj) { var logBattle = _battleService.ExecuteBattle(BattleSettingsItem); var battleLog = new BattleLog { DataContext = new BattleLogViewModel { LogBattle = logBattle } }; battleLog.Show(); }