C# 主窗体里Panel中嵌入多个MDI子窗体 怎样获取活动MDI子窗口 5
1个回答
展开全部
DLL中
procedure showmdiform(app : Tapplication);
var
oldapp : Tapplication;
begin
oldapp := app;
form1 := Tform1.Create(oldapp);
try
... ...
finally
form1.free;
application := oldapp;
end;
end;
调用时
type
proc = procedure(app : tapplication);
procedure showmdiform(app : Tapplication);
var
oldapp : Tapplication;
begin
oldapp := app;
form1 := Tform1.Create(oldapp);
try
... ...
finally
form1.free;
application := oldapp;
end;
end;
调用时
type
proc = procedure(app : tapplication);
追问
C#啊
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询