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