about.pas
Upload User: hbtcygglw
Upload Date: 2007-01-07
Package Size: 281k
Code Size: 1k
Category:

Other systems

Development Platform:

Delphi

  1. unit about;
  2. //{$define REDUCE_VERSION}
  3. interface
  4. uses
  5.   Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
  6.   StdCtrls, NWURLLabel;
  7. type
  8.   TAboutBox = class(TForm)
  9.     lbProductName: TLabel;
  10.     Label3: TLabel;
  11.     Label4: TLabel;
  12.     Button1: TButton;
  13.     Label6: TLabel;
  14.     Label7: TLabel;
  15.     Label8: TLabel;
  16.     Label9: TLabel;
  17.     AuthtorList: TListBox;
  18.     NWURLLabel1: TNWURLLabel;
  19.     NWURLLabel2: TNWURLLabel;
  20.     procedure FormCreate(Sender: TObject);
  21.   private
  22.     { Private declarations }
  23.   public
  24.     { Public declarations }
  25.     class procedure Execute;
  26.   end;
  27. implementation
  28. {$R *.DFM}
  29. { TAboutBox }
  30. class procedure TAboutBox.Execute;
  31. begin
  32. with TAboutBox.Create(Application) do
  33.     begin
  34.     ShowModal;
  35.     Free;
  36.     end;
  37. end;
  38. procedure TAboutBox.FormCreate(Sender: TObject);
  39. begin
  40. {$ifdef REDUCE_VERSION}
  41. lbProductName.Caption:=lbProductName.Caption+' 简版';
  42. {$endif}
  43. end;
  44. end.