-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathABOUT.pas
45 lines (36 loc) · 957 Bytes
/
ABOUT.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
unit About;
interface
uses
WinApi.Windows, System.SysUtils, System.Classes, Vcl.Graphics, Vcl.Forms, Vcl.Controls,
Vcl.StdCtrls, Vcl.Buttons, Vcl.ExtCtrls, WinApi.ShellApi, Vcl.Imaging.jpeg;
type
TAboutBox = class(TForm)
Panel1: TPanel;
ProgramIcon: TImage;
ProductName: TLabel;
Version: TLabel;
Copyright: TLabel;
Comments: TLabel;
OKButton: TButton;
Web: TLabel;
GitHub: TLabel;
procedure WebClick(Sender: TObject);
procedure GitHubClick(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
AboutBox: TAboutBox;
implementation
{$R *.dfm}
procedure TAboutBox.GitHubClick(Sender: TObject);
begin
ShellExecute(0, 'OPEN', 'https://github.com/MetalUDT/UdTools-Offsets-Suite', nil, nil, SW_SHOW);
end;
procedure TAboutBox.WebClick(Sender: TObject);
begin
ShellExecute(0, 'OPEN', 'https://www.udtools.net', nil, nil, SW_SHOW);
end;
end.