public Productos() { InitializeComponent(); herramientas = new HerramientaProductos(); ActualizarTabla(); CargarCombox(); habilitarBotones(true); habilitado(false); }
private void CargarCombox() { herramientaEmpleados = new HerramientaEmpleados(); repositorioDeCliente = new RepositorioDeCliente(); herramientaProductos = new HerramientaProductos(); cmbEmpleado.ItemsSource = herramientaEmpleados.Leer(); cmbCliente.ItemsSource = repositorioDeCliente.LeerCliente(); cmbProductos.ItemsSource = herramientaProductos.Leer(); }