home *** CD-ROM | disk | FTP | other *** search
/ Maximum CD 1999 February / maximum-cd-1999-02.iso / Benchmarks / White Paper / unit2.pas < prev    next >
Encoding:
Pascal/Delphi Source File  |  1998-11-20  |  642 b   |  39 lines

  1. unit Unit2;
  2.  
  3. interface
  4.  
  5. uses WinTypes, WinProcs, Classes, Graphics, Forms, Controls, StdCtrls,
  6.   Buttons, ExtCtrls;
  7.  
  8. type
  9.   TAboutBox = class(TForm)
  10.     Panel1: TPanel;
  11.     OKButton: TBitBtn;
  12.     ProgramIcon: TImage;
  13.     ProductName: TLabel;
  14.     Version: TLabel;
  15.     Comments: TLabel;
  16.     Comments2: TLabel;
  17.     Comments3: TLabel;
  18.     procedure OKButtonClick(Sender: TObject);
  19.   private
  20.     { Private declarations }
  21.   public
  22.     { Public declarations }
  23.   end;
  24.  
  25. var
  26.   AboutBox: TAboutBox;
  27.  
  28. implementation
  29.  
  30. {$R *.DFM}
  31.  
  32. procedure TAboutBox.OKButtonClick(Sender: TObject);
  33. begin
  34.   AboutBox.Hide;
  35. end;
  36.  
  37. end.
  38.  
  39.