-
Notifications
You must be signed in to change notification settings - Fork 0
/
Menu.~pas
91 lines (74 loc) · 1.77 KB
/
Menu.~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
83
84
85
86
87
88
89
90
91
unit Menu;
interface
uses
Windows, Messages , SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, Menus;
type
TMenuUtama = class(TForm)
mm1: TMainMenu;
OPEN1: TMenuItem;
SISWA1: TMenuItem;
ORANGTUA1: TMenuItem;
STATUSHUBUNGAN1: TMenuItem;
USER1: TMenuItem;
KELAS1: TMenuItem;
POIN1: TMenuItem;
SEMESTER1: TMenuItem;
WALIKELAS1: TMenuItem;
CLOSE1: TMenuItem;
procedure SISWA1Click(Sender: TObject);
procedure ORANGTUA1Click(Sender: TObject);
procedure STATUSHUBUNGAN1Click(Sender: TObject);
procedure USER1Click(Sender: TObject);
procedure CLOSE1Click(Sender: TObject);
procedure WALIKELAS1Click(Sender: TObject);
procedure POIN1Click(Sender: TObject);
procedure KELAS1Click(Sender: TObject);
procedure SEMESTER1Click(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
MenuUtama: TMenuUtama;
implementation
uses Siswa, OrangTua, Hubungan, User, WaliKelas, Poin, Kelas, Semester;
{$R *.dfm}
procedure TMenuUtama.SISWA1Click(Sender: TObject);
begin
FSiswa.ShowModal;
end;
procedure TMenuUtama.ORANGTUA1Click(Sender: TObject);
begin
FOrtu.ShowModal;
end;
procedure TMenuUtama.STATUSHUBUNGAN1Click(Sender: TObject);
begin
FHubungan.ShowModal;
end;
procedure TMenuUtama.USER1Click(Sender: TObject);
begin
FUser.ShowModal;
end;
procedure TMenuUtama.CLOSE1Click(Sender: TObject);
begin
Application.Terminate;
end;
procedure TMenuUtama.WALIKELAS1Click(Sender: TObject);
begin
FWaliKelas.ShowModal;
end;
procedure TMenuUtama.POIN1Click(Sender: TObject);
begin
FPoin.ShowModal;
end;
procedure TMenuUtama.KELAS1Click(Sender: TObject);
begin
FKelas.ShowModal;
end;
procedure TMenuUtama.SEMESTER1Click(Sender: TObject);
begin
FSemester.ShowModal;
end;
end.