mylistdir_unit.pas

来自「sql inject HDSI3--delphi.rar」· PAS 代码 · 共 43 行

PAS
43
字号
unit mylistdir_unit;

interface

uses
  Classes;

type
  TMyListDir = class(TThread)
  private
    { Private declarations }
  public
   procedure Execute; override;
  protected
   // procedure Execute; override;
  end;

implementation
       uses
       main_unit,define_unit;

{ 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 TMyListDir.UpdateCaption;
    begin
      Form1.Caption := 'Updated in a thread';
    end; }

{ TMyListDir }

procedure TMyListDir.Execute;
begin
  { Place thread code here }
    form_main.listdir;
end;

end.

⌨️ 快捷键说明

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