public rMantenimientos()
        {
            InitializeComponent();

            VehiculoComboBox.ItemsSource       = VehiculosBLL.GetVehiculos();
            VehiculoComboBox.SelectedValuePath = "VehiculoId";
            VehiculoComboBox.DisplayMemberPath = "Modelo";
        }
Exemple #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";
        }