home *** CD-ROM | disk | FTP | other *** search
/ C!T ROM 21 / CTROM21B.mdf / win95 / zakelijk / esbcalc / setup.exe / file0009.bin / demo2 / MAIN2.PAS < prev   
Encoding:
Pascal/Delphi Source File  |  1999-03-04  |  628 b   |  37 lines

  1. unit Main2;
  2.  
  3. interface
  4.  
  5. uses
  6.   Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
  7.   ComCtrls, StdCtrls, CaptBtn;
  8.  
  9. type
  10.   TForm1 = class(TForm)
  11.     StatusBar1: TStatusBar;
  12.     Label1: TLabel;
  13.     Label2: TLabel;
  14.     CaptionButton1: TCaptionButton;
  15.     Label3: TLabel;
  16.     Label4: TLabel;
  17.     procedure CaptionButton1Click(Sender: TObject);
  18.   private
  19.     { Private declarations }
  20.   public
  21.     { Public declarations }
  22.   end;
  23.  
  24. var
  25.   Form1: TForm1;
  26.  
  27. implementation
  28.  
  29. {$R *.DFM}
  30.  
  31. procedure TForm1.CaptionButton1Click(Sender: TObject);
  32. begin
  33.   Application.Minimize;
  34. end;
  35.  
  36. end.
  37.