public CSimulateur() { updateDelegue = new Update(Update); Timer = new CHorloge(1000, updateDelegue, 1); VSimulateur = new fchSimulateur(this); formRun = new Thread(new ThreadStart(() => Application.Run(VSimulateur))); formRun.Start(); m_scenario = new Scenario(); }
//private Scenario m_scenario; public Generateur() { m_fiche = new fchSimulateur(); Application.Run(m_fiche); }