13,825
社区成员
发帖
与我相关
我的任务
分享
//打开MDI子窗体
if (Form2== NULL)//判断一下
Form2= new TForm2(this);
Form2->Show();
//-----------------------------------------------------
void __fastcall TForm2::FormClose(TObject *Sender, TCloseAction &Action)
{
Form2 =NULL ;
Action = caFree;
}
void __fastcall TForm2::FormClose(TObject *Sender, TCloseAction &Action)
{
ShowMessage(Name);
Action = caFree;
}