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