home *** CD-ROM | disk | FTP | other *** search
/ Inter.Net 55-1 / Inter.Net 55-1.iso / CBuilder / Info / TeachU14 / SAMS / Code / Day06 / mdichild.cpp < prev    next >
Encoding:
C/C++ Source or Header  |  1998-02-08  |  700 b   |  21 lines

  1. //---------------------------------------------------------------------------
  2. #include <vcl\vcl.h>
  3. #pragma hdrstop
  4.  
  5. #include "MDIChild.h"
  6. //---------------------------------------------------------------------------
  7. #pragma package(smart_init)
  8. #pragma resource "*.dfm"
  9. TChild *Child;
  10. //---------------------------------------------------------------------------
  11. __fastcall TChild::TChild(TComponent* Owner)
  12.     : TForm(Owner)
  13. {
  14. }
  15. //---------------------------------------------------------------------------
  16. void __fastcall TChild::FormClose(TObject *Sender, TCloseAction &Action)
  17. {
  18.   Action = caFree;    
  19. }
  20. //---------------------------------------------------------------------------
  21.