public rMantenimientos() { InitializeComponent(); VehiculoComboBox.ItemsSource = VehiculosBLL.GetVehiculos(); VehiculoComboBox.SelectedValuePath = "VehiculoId"; VehiculoComboBox.DisplayMemberPath = "Modelo"; }
public rRentas() { InitializeComponent(); ClienteComboBox.ItemsSource = ClientesBLL.GetClientes(); ClienteComboBox.SelectedValuePath = "ClineteId"; ClienteComboBox.DisplayMemberPath = "Nombres"; VehiculoComboBox.ItemsSource = VehiculosBLL.GetVehiculos(); VehiculoComboBox.SelectedValuePath = "VehiculoId"; VehiculoComboBox.DisplayMemberPath = "Modelo"; }