downinifile.pas

来自「这是一款简单易用的自动升级及更新软件」· PAS 代码 · 共 40 行

PAS
40
字号
unit DownInifile;

interface

uses
  Classes, UrlMon;

type
  Dwninifile = class(TThread)
  private
  protected
  public
    procedure Execute; override;
  end;

implementation
uses  Update;

{ Important: Methods and properties of objects in visual components can only be
  used in a method called using Synchronize, for example,

      Synchronize(UpdateCaption);

  and UpdateCaption could look like,

    procedure Dwninifile.UpdateCaption;
    begin
      Form1.Caption := 'Updated in a thread';
    end; }

{ Dwninifile }


procedure Dwninifile.Execute;
begin
  { Place thread code here }
end;

end.
 

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?