public Video(bool fullAAVSimulation) { Properties.Settings.Default.Reload(); this.fullAAVSimulation = fullAAVSimulation; player = new DxPlayer(Properties.Settings.Default.SimulatorFilePath, Properties.Settings.Default.SimulatorFrameRate, fullAAVSimulation); player.StopPlay += player_StopPlay; }
public void Dispose() { if (player != null && player.IsRunning) player.Stop(); player = null; }