Splash.pas 756 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. unit Splash;
  2. interface
  3. uses
  4. Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  5. Dialogs, StdCtrls, ExtCtrls, jpeg, JvGIF;
  6. type
  7. TfrmSplash = class(TForm)
  8. imlLua: TImage;
  9. Image1: TImage;
  10. Image2: TImage;
  11. Label3: TLabel;
  12. lblVersion: TLabel;
  13. Label5: TLabel;
  14. Label6: TLabel;
  15. Label7: TLabel;
  16. Label8: TLabel;
  17. Label1: TLabel;
  18. shpBorder: TShape;
  19. procedure FormShow(Sender: TObject);
  20. private
  21. { Private declarations }
  22. public
  23. { Public declarations }
  24. end;
  25. var
  26. frmSplash: TfrmSplash;
  27. implementation
  28. uses Main, Misc;
  29. {$R *.dfm}
  30. procedure TfrmSplash.FormShow(Sender: TObject);
  31. begin
  32. lblVersion.Caption := TCaption(GetFileVersion(PChar(Application.ExeName)));
  33. end;
  34. end.