private void formVistaUserLogged_Load(object sender, EventArgs e) { //cboxEstacion.Items.Add("hola"); foreach (String s in service.GetStations()) { cboxEstacion.Items.Add(s); } }
private void RegistrarScooter_Load(object sender, EventArgs e) { foreach (String s in service.GetStations()) { cboxEstacion.Items.Add(s); } cboxEstacion.Enabled = false; rbtnDisponible.Checked = false; rbtnMantenimiento.Checked = false; rbtnUso.Checked = false; // cmdRegistrarScooter.Enabled = false; }