function TRegistry.ReadBool(const Name: string): Boolean;
begin
  Result := ReadInteger(Name) <> 0;
end;

 

 posted on 2015-10-30 09:33  宝兰  阅读(309)  评论(0编辑  收藏  举报