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