home *** CD-ROM | disk | FTP | other *** search
- unit About;
-
- interface
-
- uses WinTypes, WinProcs, Classes, Graphics, Forms, Controls, StdCtrls,
- Buttons, ExtCtrls;
-
- type
- TAboutForm = class(TForm)
- Panel1: TPanel;
- ProgramName: TLabel;
- Copyright: TLabel;
- Button1: TButton;
- Memo1: TMemo;
- Panel2: TPanel;
- Image1: TImage;
- procedure FormCreate(Sender: TObject);
- procedure Button1Click(Sender: TObject);
- private
- { Private declarations }
- public
- { Public declarations }
- end;
-
- var
- AboutForm: TAboutForm;
-
- implementation
-
- uses Main;
-
- {$R *.DFM}
-
- procedure TAboutForm.FormCreate(Sender: TObject);
- begin
- { Set the captions }
- ProgramName.Caption := ProgramStr+' '+VersionStr;
- Copyright.Caption := CopyrightStr;
- end;
-
- procedure TAboutForm.Button1Click(Sender: TObject);
- begin
- Close;
- end;
-
- end.
-
-