home *** CD-ROM | disk | FTP | other *** search
/ DOS/V Power Report 1997 May / VPR9705A.ISO / VPR_DATA / PROGRAM / CBTRIAL / SETUP / DATA.Z / FIRST.CPP < prev    next >
C/C++ Source or Header  |  1997-02-14  |  989b  |  29 lines

  1. //----------------------------------------------------------------------------
  2. //Borland C++Builder
  3. //Copyright (c) 1987,1997 Borland International Inc. All Rights Reserved.
  4. //----------------------------------------------------------------------------
  5. //---------------------------------------------------------------------
  6. #include <vcl.h>
  7. #pragma hdrstop
  8.  
  9. #include "First.h"
  10. #include "second.h"
  11. //---------------------------------------------------------------------
  12. #pragma resource "*.dfm"
  13. TForm1 *Form1;
  14. //---------------------------------------------------------------------
  15. __fastcall TForm1::TForm1(TComponent *Owner)
  16.   : TForm(Owner)
  17. {
  18. }
  19. //---------------------------------------------------------------------
  20. void __fastcall TForm1::Button1Click(TObject* /*Sender*/)
  21. {
  22.     TForm2 *Form2;
  23.     Form2 = new TForm2(Application);
  24.     Form2->ShowModal();
  25.     delete Form2;
  26. }
  27. //----------------------------------------------------------------------------
  28.  
  29.