Ejemplo n.º 1
0
        public static void ImprimirEnColor()
        {
            Console.ForegroundColor = Sello.color;//le cambio el color

            //Console.WriteLine("{0}", Sello.Imprimir());//muestro con el color
            Console.WriteLine("{0}", Sello.ArmarFormatoMensaje());

            Console.ForegroundColor = ConsoleColor.Gray;//vuelvo al color normal
        }
Ejemplo n.º 2
0
 public static string Imprimir()
 {
     mensaje = Sello.ArmarFormatoMensaje();
     return(Sello.mensaje);
 }
Ejemplo n.º 3
0
 public static string Imprimir()
 {
     return(Sello.ArmarFormatoMensaje());
 }
Ejemplo n.º 4
0
 public static void ImprimirEnColor()
 {
     Console.ForegroundColor = color;
     Console.WriteLine(Sello.ArmarFormatoMensaje());
     Console.ForegroundColor = ConsoleColor.Gray;
 }