//kt -- Modified with SourceScanner on 9/5/2007
unit fSplash;

interface

uses
  Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
  ExtCtrls, StdCtrls, DKLang, jpeg;

type
  TfrmSplash = class(TForm)
    Panel1: TPanel;
    lblSplash: TStaticText;
    lblVersion: TStaticText;
    lblCopyright: TStaticText;
    Panel2: TPanel;
    Image1: TImage;
    StaticText1: TStaticText;
    procedure FormCreate(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  frmSplash: TfrmSplash;

implementation

{$R *.DFM}

uses ORSystem;

procedure TfrmSplash.FormCreate(Sender: TObject);
var SplashFile : string;
begin
//lblVersion.Caption := 'version ' +  <-- original line.  //kt 9/5/2007
  lblVersion.Caption := DKLangConstW('fSplash_version') + //kt added 9/5/2007
                        FileVersionValue(Application.ExeName, FILE_VER_FILEVERSION);
  SplashFile := ExtractFilePath(ParamStr(0)) + 'splash.jpg';  //kt
  if FileExists(SplashFile) then begin          //kt
    Image1.Picture.LoadFromFile(SplashFile);    //kt
  end;
end;

end.
