Exemple #1
0
        static void Main(string[] args)
        {
            var telaCliente = new TelaCliente();
            var telaAnimal  = new TelaAnimal();

            telaAnimal.Executar();
        }
Exemple #2
0
        static void Main(string[] args)
        {
            // var Tela = new TelaCliente();
            // Tela.Executar();

            var Tela = new TelaAnimal();

            Tela.Executar();
        }
Exemple #3
0
 static void Main(string[] args)
 {
     Console.WriteLine("1 - Clientes\n2 - Animais\n");
     if (Console.ReadLine() == "1")
     {
         var tela1 = new TelaCliente(ConsoleColor.White, ConsoleColor.Red, ConsoleColor.Blue);
         tela1.Executar();
     }
     else
     {
         var tela2 = new TelaAnimal(ConsoleColor.Yellow, ConsoleColor.Red, ConsoleColor.White);
         tela2.Executar();
     }
 }