Esempio 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
        }
Esempio n. 2
0
 public static string Imprimir()
 {
     mensaje = Sello.ArmarFormatoMensaje();
     return(Sello.mensaje);
 }
Esempio n. 3
0
 public static string Imprimir()
 {
     return(Sello.ArmarFormatoMensaje());
 }
Esempio n. 4
0
 public static void ImprimirEnColor()
 {
     Console.ForegroundColor = color;
     Console.WriteLine(Sello.ArmarFormatoMensaje());
     Console.ForegroundColor = ConsoleColor.Gray;
 }