-
Notifications
You must be signed in to change notification settings - Fork 0
/
frmGrowCery_u.pas
49 lines (40 loc) · 1.12 KB
/
frmGrowCery_u.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
// ##################################
// ###### IT PAT 2018 #######
// ###### GrowCery #######
// ###### Tiaan van der Riel #######
// ##################################
unit frmGrowCery_u;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, pngimage, ExtCtrls, StdCtrls;
type
TfrmWelcome = class(TForm)
imgWelcomeBackground: TImage;
btnContinue: TButton;
procedure btnContinueClick(Sender: TObject);
procedure FormShow(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
frmWelcome: TfrmWelcome;
implementation
uses
frmLogIn_u, dmDatabase_u;
{$R *.dfm}
/// ============================ Form Gets Shown ==============================
procedure TfrmWelcome.FormShow(Sender: TObject);
begin
btnContinue.Left := 543;
btnContinue.Top := 561;
end;
/// ======================== Continue Button Clicked ==========================
procedure TfrmWelcome.btnContinueClick(Sender: TObject);
begin
frmWelcome.Hide;
frmLogIn.ShowModal;
end;
end.