unit Unit1;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls;
type
TForm1 = class(TForm)
private
{ Private declarations }
public
constructor Create(Aonwer:TComponent);override;
end;
var
Form1: TForm1;
implementation
{$R *.DFM}
{ TForm1 }
constructor TForm1.Create(Aonwer: TComponent);
begin
inherited create(Aonwer);
font.Name:='宋体';
font.Size :=12;
end;