Beispiel #1
0
 public Empleado()
 {
     InitializeComponent();
     herramientaEmpleados = new HerramientaEmpleados();
     ActualizarTabla();
     habilitado(false);
     HabilitarBotones(true);
 }
Beispiel #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();
 }