static void Main() { Simulateur sim = new Simulateur(); Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(new FenetreSimulation(sim.graphe, sim)); }
public FenetreSimulation(GrapheInfra inGraphe, Simulateur inSimu) { InitializeComponent(); grInfra = inGraphe; grInfra.AfficherGraphe(this); sim = inSimu; TimerStart(); }