type
TForm1 = class(TForm)
procedure FormCreate(Sender: TObject);
procedure test;
private
{ Private declarations }
public
{ Public declarations }
end;
//另外一种写法:type
TForm1 = class(TForm)
procedure FormCreate(Sender: TObject);
private
procedure test;
{ Private declarations }
public
{ Public declarations }
end;
TForm1 = class(TForm)
procedure FormCreate(Sender: TObject);
procedure test;
private
{ Private declarations }
public
{ Public declarations }
end;
//另外一种写法:type
TForm1 = class(TForm)
procedure FormCreate(Sender: TObject);
private
procedure test;
{ Private declarations }
public
{ Public declarations }
end;
那为什么delphi还搞个public?
2.如果是TForm1 = class(TForm)创建,private上面一般是Form事件自动生成
也就是说:delphi自动生成的代码是不规范?