| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- unit AboutUnit;
- interface
- uses
- Classes, SysUtils, LResources, Forms, Controls, Graphics, Dialogs, Buttons,
- ExtCtrls, StdCtrls, Imaging, DemoUtils;
- type
- { TAboutForm }
- TAboutForm = class(TForm)
- BitBtn1: TBitBtn;
- Image: TImage;
- Image2: TImage;
- labImaging: TLabel;
- ImLabel1: TLabel;
- LabVersion: TLabel;
- Label1: TLabel;
- procedure FormShow(Sender: TObject);
- private
- { private declarations }
- public
- { public declarations }
- end;
- var
- AboutForm: TAboutForm;
- implementation
- {$R *.lfm}
- { TAboutForm }
- procedure TAboutForm.FormShow(Sender: TObject);
- begin
- LabVersion.Caption := 'version ' + Imaging.GetVersionStr;
- if Image.Picture.Graphic = nil then
- begin
- Image.Picture.LoadFromFile(GetDataDir + PathDelim + 'LogoAlpha.png');
- end;
- end;
- end.
|