|
// 혹 비슷할것 같아서 올립니다.
// 작동확인한 모달된 폼의 루틴입니다.
#include <vcl.h>
#pragma hdrstop
#include "Unit1.h"
#include "test.h"
//---------------------------------------------------------------------------
#pragma package(smart_init)
#pragma resource "*.dfm"
TForm1 *Form1;
//---------------------------------------------------------------------------
__fastcall TForm1::TForm1(TComponent* Owner)
: TForm(Owner)
{
}
//---------------------------------------------------------------------------
void __fastcall TForm1::Button1Click(TObject *Sender)
{
Label1->Caption = "버튼1누름";
TEST1_PJT->Label2->Caption="버튼1";
}
//---------------------------------------------------------------------------
void __fastcall TForm1::Button2Click(TObject *Sender)
{
Label1->Caption = "버튼2누름";
TEST1_PJT->Label2->Caption="버튼2"; // 현재의form 을 모달한 form class TEST1_PJT
}
//---------------------------------------------------------------------------
|