G
greenhand00
Unregistered / Unconfirmed
GUEST, unregistred user!
我是Delphi的初学者,
书中的例子中
unit Ellipse;
interface
uses Controls,Classes,Messages,Graphics,Math;
type
TEllipse=class(TGraphicControl)
private
procedure RepaintRequest;
public
constructor Create(AOwner:Tcomponent);override;
procedure SetPen(Value:TPen);
procedure SetBrush(Value:TBrush);
protect
procedure Paint;override;
end;
implement
....................
在定义类中的构造函数有这么一句:
constructor Create(AOwner:Tcompnent);override;
其中的参数我不知道怎么理解?请指教!
书中的例子中
unit Ellipse;
interface
uses Controls,Classes,Messages,Graphics,Math;
type
TEllipse=class(TGraphicControl)
private
procedure RepaintRequest;
public
constructor Create(AOwner:Tcomponent);override;
procedure SetPen(Value:TPen);
procedure SetBrush(Value:TBrush);
protect
procedure Paint;override;
end;
implement
....................
在定义类中的构造函数有这么一句:
constructor Create(AOwner:Tcompnent);override;
其中的参数我不知道怎么理解?请指教!