private void butIniSimul_Click(object sender, EventArgs e) { sim.setCantidadBuses(Int32.Parse(textCantBus.Text)); sim.setHoraPicoYValle(Int32.Parse(textHoraValle.Text), Int32.Parse(textHoraPico.Text)); //System.Threading.Thread hilo1 = new System.Threading.Thread(new System.Threading.ThreadStart(sim.Run)); //hilo1.Start(); VentanaMIO ventanaMIO = new VentanaMIO(c,sim); ventanaMIO.ShowDialog(); }
private void butIniSimul_Click(object sender, EventArgs e) { sim.setCantidadBuses(Int32.Parse(textCantBus.Text)); sim.setHoraPicoYValle(Int32.Parse(textHoraValle.Text), Int32.Parse(textHoraPico.Text)); //System.Threading.Thread hilo1 = new System.Threading.Thread(new System.Threading.ThreadStart(sim.Run)); //hilo1.Start(); VentanaMIO ventanaMIO = new VentanaMIO(c, sim); ventanaMIO.ShowDialog(); }