unit Unit1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs;
type
TForm1 = class(TForm)
private
{ Private declarations }
public
{ Public declarations }
end;
var
Form1: TForm1;
implementation
{$R *.dfm}
initialization
RegisterClass(TForm1); //必须注册该类,要不然就不能创建该窗体
finalization
UnRegisterClass(TForm1); //程序结束时,反注册该窗体类
end.