private static void DepositoComputacion_DescripcionProductos(object sender, InfoElementoArg e) { foreach (ElementoComputacion elemento in DepositoComputacion.Instance.ObtenerListaElementos()) { if (DepositoComputacion.Instance.ObtenerListaElementos().Last() == elemento) { Console.ForegroundColor = ConsoleColor.Cyan; } Console.WriteLine(DepositoComputacion.Instance.ObtenerDescrpicionElemento(elemento)); } Console.ForegroundColor = ConsoleColor.Gray; }
private static void DepositoComputacion_EventoAgregarEliminar(object sender, InfoElementoArg e) { Console.WriteLine($"{e.Operacion}: {e.TipoElemento} - {e.Identificador}"); }