-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathBOTONES.pas
79 lines (64 loc) · 1.72 KB
/
BOTONES.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
unit BOTONES;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ButtonGroup, Vcl.Menus,
Vcl.StdCtrls, Vcl.Buttons, Vcl.ExtCtrls;
type
Tmenuseleccion = class(TForm)
btclientes: TButton;
Button2: TButton;
Button3: TButton;
Button4: TButton;
Button5: TButton;
Button6: TButton;
btpresupuestos: TButton;
Button8: TButton;
Button9: TButton;
Button10: TButton;
procedure btclientesClick(Sender: TObject);
procedure btpresupuestosClick(Sender: TObject);
procedure Button9Click(Sender: TObject);
procedure Button6Click(Sender: TObject);
procedure Button4Click(Sender: TObject);
procedure FormClose(Sender: TObject; var Action: TCloseAction);
procedure Button2Click(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
menuseleccion: Tmenuseleccion;
implementation
{$R *.dfm}
uses DModule1, navegador;
procedure Tmenuseleccion.btclientesClick(Sender: TObject);
begin
fnavegador.NodosClientes;
end;
procedure Tmenuseleccion.btpresupuestosClick(Sender: TObject);
begin
fnavegador.NodosPresupuestos;
end;
procedure Tmenuseleccion.Button2Click(Sender: TObject);
begin
fnavegador.NodosFacturasEmitidas;
end;
procedure Tmenuseleccion.Button4Click(Sender: TObject);
begin
fnavegador.NodosAdministrador;
end;
procedure Tmenuseleccion.Button6Click(Sender: TObject);
begin
fnavegador.NodosConfiguracion;
end;
procedure Tmenuseleccion.Button9Click(Sender: TObject);
begin
fnavegador.NodosObras;
end;
procedure Tmenuseleccion.FormClose(Sender: TObject; var Action: TCloseAction);
begin
Action:=caFree;
end;
end.