private void ObtenerTipoVehiculos() { this.cboTipoVehiculo.ItemsSource = _vehiculoBl.ObtenerTipoVehiculos(); this.cboTipoVehiculo.DisplayMemberPath = "Nombre"; this.cboTipoVehiculo.SelectedValuePath = "Id"; this.cboTipoVehiculo.SelectedIndex = 0; }
private void ObtenerTipoVehiculos() { this.cboTipoVehiculo.ItemsSource = _vehiculoBl.ObtenerTipoVehiculos(); this.cboTipoVehiculo.DisplayMemberPath = "Nombre"; this.cboTipoVehiculo.SelectedValuePath = "Id"; this.cboTipoVehiculo.SelectedIndex = 0; }