-
Notifications
You must be signed in to change notification settings - Fork 2
/
FApolo.pas
82 lines (69 loc) · 1.52 KB
/
FApolo.pas
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
76
77
78
79
80
81
82
unit FApolo;
interface
uses
Classes,
Controls,
Dialogs,
Forms,
Graphics,
Menus,
sSkinManager,
Variants,
Windows;
type
Tfrm_Apolo = class(TForm)
mni_Cadastros: TMenuItem;
mni_CadastrosContatos: TMenuItem;
mni_CadastrosSair: TMenuItem;
mni_CadastrosUsuarios: TMenuItem;
mni_Relatorios: TMenuItem;
mni_RelatoriosContatos: TMenuItem;
mnm_Apolo: TMainMenu;
N1: TMenuItem;
skn_Apolo: TsSkinManager;
procedure FormShow(Sender: TObject);
procedure mni_CadastrosContatosClick(Sender: TObject);
procedure mni_CadastrosSairClick(Sender: TObject);
procedure mni_CadastrosUsuariosClick(Sender: TObject);
procedure mni_RelatoriosContatosClick(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
frm_Apolo: Tfrm_Apolo;
implementation
uses
FCLogin,
FLContatos,
FLUsuarios,
FRContatos,
UGerais;
{$R *.dfm}
procedure Tfrm_Apolo.FormShow(Sender: TObject);
begin
TUnt_Gerais.OpenForm(Tfrm_FCLogin);
end;
procedure Tfrm_Apolo.mni_CadastrosContatosClick(Sender: TObject);
begin
TUnt_Gerais.OpenForm(Tfrm_FLContatos);
end;
procedure Tfrm_Apolo.mni_CadastrosSairClick(Sender: TObject);
begin
Close;
end;
procedure Tfrm_Apolo.mni_CadastrosUsuariosClick(Sender: TObject);
begin
TUnt_Gerais.OpenForm(Tfrm_FLUsuarios);
end;
procedure Tfrm_Apolo.mni_RelatoriosContatosClick(Sender: TObject);
begin
with Tfrm_FRContatos.Create(Self) do
try
qrp_Report.Preview;
finally
Free;
end;
end;
end.