| 1 |
/////////////////////////////////////////////////////////// |
|---|
| 2 |
// EiEdit // |
|---|
| 3 |
// Ðåäàêòîð ÷àñòè ðåñóðñîâ Ïðîêëÿòûõ Çåìåëü // |
|---|
| 4 |
// Copyright (C) 2002 Gipat Group // |
|---|
| 5 |
// Ðàñïðîñòðàíÿåòñÿ íà óñëîâèÿõ // |
|---|
| 6 |
// Gipat Group's opened EI-editor-utility license // |
|---|
| 7 |
// âåðñèè 1.0 // |
|---|
| 8 |
// // |
|---|
| 9 |
// www.gipatgroup.org // |
|---|
| 10 |
/////////////////////////////////////////////////////////// |
|---|
| 11 |
|
|---|
| 12 |
//Ê ðàáîòå íàä äàííûì ôàéëîì ïðèëîæèëè ðóêè, íîãè.... êîðî÷å àôôòàðû: |
|---|
| 13 |
// 1) Sagrer (sagrer@yandex.ru) |
|---|
| 14 |
|
|---|
| 15 |
//////////////////////////////////////////////////////////////////////// |
|---|
| 16 |
|
|---|
| 17 |
unit AboutF; |
|---|
| 18 |
|
|---|
| 19 |
interface |
|---|
| 20 |
|
|---|
| 21 |
uses |
|---|
| 22 |
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, |
|---|
| 23 |
StdCtrls, initer; |
|---|
| 24 |
|
|---|
| 25 |
|
|---|
| 26 |
|
|---|
| 27 |
type |
|---|
| 28 |
TAboutForm = class(TForm) |
|---|
| 29 |
ProgaNamLab: TLabel; |
|---|
| 30 |
Label1: TLabel; |
|---|
| 31 |
FileVerLab: TLabel; |
|---|
| 32 |
OkButn: TButton; |
|---|
| 33 |
CopyrightLab: TLabel; |
|---|
| 34 |
DescrLab: TLabel; |
|---|
| 35 |
Label2: TLabel; |
|---|
| 36 |
CraftedByLab: TLabel; |
|---|
| 37 |
DevelsContactsLab: TLabel; |
|---|
| 38 |
Label3: TLabel; |
|---|
| 39 |
Label4: TLabel; |
|---|
| 40 |
LicenseBut: TButton; |
|---|
| 41 |
procedure OkButnClick(Sender: TObject); |
|---|
| 42 |
procedure FormShow(Sender: TObject); |
|---|
| 43 |
procedure FormCreate(Sender: TObject); |
|---|
| 44 |
procedure LicenseButClick(Sender: TObject); |
|---|
| 45 |
private |
|---|
| 46 |
{ Private declarations } |
|---|
| 47 |
FirstShowed : boolean; |
|---|
| 48 |
public |
|---|
| 49 |
{ Public declarations } |
|---|
| 50 |
end; |
|---|
| 51 |
|
|---|
| 52 |
var |
|---|
| 53 |
AboutForm: TAboutForm; |
|---|
| 54 |
|
|---|
| 55 |
implementation |
|---|
| 56 |
|
|---|
| 57 |
{$R *.DFM} |
|---|
| 58 |
|
|---|
| 59 |
procedure TAboutForm.OkButnClick(Sender: TObject); |
|---|
| 60 |
begin |
|---|
| 61 |
Close; //Ïðîñòî çàêðûòü îêíî! :) |
|---|
| 62 |
end; |
|---|
| 63 |
|
|---|
| 64 |
procedure TAboutForm.FormShow(Sender: TObject); |
|---|
| 65 |
begin |
|---|
| 66 |
If FirstShowed = false then begin |
|---|
| 67 |
//Äåéñòâèÿ ïðè ïåðâîé ïðîðèñîâêå... |
|---|
| 68 |
FirstShowed := true; |
|---|
| 69 |
|
|---|
| 70 |
//Îòîáðàçèòü íà ôîðìå èíôó î âåðñèè... |
|---|
| 71 |
ProgaNamLab.Caption := EiEdit_AppName; |
|---|
| 72 |
DescrLab.Caption := Zagolov; |
|---|
| 73 |
FileVerLab.Caption := VitInfo.GenerateVersionString; |
|---|
| 74 |
CopyrightLab.Caption := EiEdit_CopyrightStr; |
|---|
| 75 |
CraftedByLab.Caption := EiEdit_CraftedBy_list; |
|---|
| 76 |
DevelsContactsLab.Caption := EiEdit_DevelsContacts; |
|---|
| 77 |
end; |
|---|
| 78 |
end; |
|---|
| 79 |
|
|---|
| 80 |
procedure TAboutForm.FormCreate(Sender: TObject); |
|---|
| 81 |
begin |
|---|
| 82 |
FirstShowed := false; |
|---|
| 83 |
end; |
|---|
| 84 |
|
|---|
| 85 |
procedure TAboutForm.LicenseButClick(Sender: TObject); |
|---|
| 86 |
begin |
|---|
| 87 |
WinExec(Pchar('notepad.exe '+Path+'GG_opened_EI-editor-utility_license.txt'), Sw_ShowNormal); |
|---|
| 88 |
end; |
|---|
| 89 |
|
|---|
| 90 |
end. |
|---|