public rMantenimientos()
        {
            InitializeComponent();

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

            VehiculoComboBox.ItemsSource       = VehiculosBLL.GetVehiculos();
            VehiculoComboBox.SelectedValuePath = "VehiculoId";
            VehiculoComboBox.DisplayMemberPath = "Modelo";
        }