-
Notifications
You must be signed in to change notification settings - Fork 7
/
CMW.About.pas
47 lines (36 loc) · 1.19 KB
/
CMW.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
46
unit CMW.About;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs,
Vcl.StdCtrls, Vcl.ExtCtrls, Vcl.Imaging.pngimage, Vcl.Grids, Vcl.ValEdit;
type
TFormAbout = class(TForm)
Image1: TImage;
ValueListEditorHemulGM: TValueListEditor;
procedure FormCreate(Sender: TObject);
procedure ListBoxHemulGMDblClick(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
FormAbout: TFormAbout;
implementation
uses
Winapi.ShellAPI;
{$R *.dfm}
procedure TFormAbout.FormCreate(Sender: TObject);
begin
ValueListEditorHemulGM.Strings.Clear;
ValueListEditorHemulGM.InsertRow('Îïèñàíèå', 'Êîìïëåêñ îáñëóæèâàíèÿ ðàáî÷èõ ñòàíöèé', True);
ValueListEditorHemulGM.InsertRow('Àâòîð ïðîãðàììû', 'Ãåííàäèé Ìàëèíèí aka HemulGM', True);
ValueListEditorHemulGM.InsertRow('Ñòðàíèöà', 'https://hemulgm.ru/cmw', True);
ValueListEditorHemulGM.InsertRow('', 'Copyright 2014-2016 HemulGM', True);
end;
procedure TFormAbout.ListBoxHemulGMDblClick(Sender: TObject);
begin
ShellExecute(0, 'open', 'https://hemulgm.ru/cmw', nil, nil, SW_NORMAL);
end;
end.