-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSystemPetsCare.cs
75 lines (57 loc) · 2.24 KB
/
SystemPetsCare.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
using PetsCareConsole2._0;
using PetsCareConsole2._0.Criptografy;
//Console.BackgroundColor = ConsoleColor.DarkGray;
//Console.ForegroundColor = ConsoleColor.DarkRed;
Console.WriteLine("\n\n\t\t\t\t\t\t############################################################");
Console.WriteLine("\t\t\t\t\t\t# Bem vindo ao Sistema Pets Care #");
Console.WriteLine("\t\t\t\t\t\t############################################################");
//Console.ReadKey();
Console.WriteLine("\t\t\t\t\t\t------------------------------------------------------------");
Console.WriteLine("\t\t\t\t\t\t Faça a sua escolha!");
Console.WriteLine("\t\t\t\t\t\t------------------------------------------------------------");
string adeus = "";
do
{
Console.WriteLine("\t1 - Acessar Sistema\t2 - Cadastrar Usuário\t3 - Acessar Tela Login(em desenvolvimento!)\t4 - Sair do Sistema");
//Console.WriteLine("\t2 - Cadastrar Usuário");
//Console.WriteLine("\t3 - Sair do Sistema");
string opcEscolha = Console.ReadLine();
switch (opcEscolha)
{
case "1":
var tutor = new Tutores();
Console.Clear();
Console.WriteLine("Dados dos Tutores");
tutor.Tutor();
Console.Clear();
break;
case "2":
var cadastroUser = new CadastroUser();
Console.Clear();
Console.WriteLine("Cadastrar");
cadastroUser.CadUser();
Console.Clear();
break;
case "4":
Console.Clear();
Console.WriteLine("Obrigado pelo seu Tempo!");
Console.ReadKey();
Console.Clear();
adeus = "Sair";
break;
case "3":
var login = new LoginCadastro();
Console.Clear();
Console.WriteLine("Acessar Sistema");
login.Logar();
Console.Clear();
break;
default:
Console.Clear();
Console.WriteLine("Opção inválida para este momento!");
Console.ReadKey();
Console.Clear();
break;
}
}
while (adeus != "Sair");