Constructor TwThr_timeupdate.Create(IsTime:integer);
begin
Inherited Create(True);//首先创建
FISTime:=IsTime;
TmpList:=TStringList.create;
AddList:=TStringList.Create;
AllpathList:=TStringList.Create;
myini:=TIniFile.Create(AppPath+'path.ini');
end;
begin
Inherited Create(True);//首先创建
FISTime:=IsTime;
TmpList:=TStringList.create;
AddList:=TStringList.Create;
AllpathList:=TStringList.Create;
myini:=TIniFile.Create(AppPath+'path.ini');
end;
还是我需重载terminate?
为什么要先inherited,然后再创建我的变量?