摘要: 一、窗体的建立 在DELPHI中,我们通常使用Application.CreateForm(TForm2, Form2)和TForm.create来创建窗体,我们几乎无法区别这两种方法差异,更何况,我们更多的时候都是在使用TForm.create来生成子窗体。 不过,仔细观察VCL源码,你会发现,其实两者区别很大。procedureTApplication.CreateForm(InstanceClass:TComponentClass;varReference);varInstance:TComponent;beginInstance:=TComponent(InstanceClass.Ne 阅读全文
posted @ 2011-09-01 23:57 学习札记 阅读(315) 评论(0) 推荐(0) 编辑