//TListForm:=TStringList.create;
index:integer;
index:=TListForm.IndexOf( 'FORMNAME ');
if index <0 then
begin
BaseReportForm:=TBaseReportForm.Create(nil);
BaseReportForm.Parent:=tabReport;
BaseReportForm.BorderStyle:=bsNone;
BaseReportForm.Align:=alClient;
BaseReportForm.Show;
TListForm.add( 'FORMNAME ');
end
else
begin
TForm(TListForm.objects(index)).show;
end;
}
同样的方法,在c#中有没有对应的可以获得form的对象,并且对象可以进行上面代码中的操作。