home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 1997 May
/
Pcwk0597.iso
/
borland
/
cb
/
setup
/
cbuilder
/
data.z
/
FIRST.CPP
< prev
next >
Wrap
C/C++ Source or Header
|
1997-02-28
|
989b
|
29 lines
//----------------------------------------------------------------------------
//Borland C++Builder
//Copyright (c) 1987,1997 Borland International Inc. All Rights Reserved.
//----------------------------------------------------------------------------
//---------------------------------------------------------------------
#include <vcl.h>
#pragma hdrstop
#include "First.h"
#include "second.h"
//---------------------------------------------------------------------
#pragma resource "*.dfm"
TForm1 *Form1;
//---------------------------------------------------------------------
__fastcall TForm1::TForm1(TComponent *Owner)
: TForm(Owner)
{
}
//---------------------------------------------------------------------
void __fastcall TForm1::Button1Click(TObject* /*Sender*/)
{
TForm2 *Form2;
Form2 = new TForm2(Application);
Form2->ShowModal();
delete Form2;
}
//----------------------------------------------------------------------------