⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 afincts.pas

📁 漏洞扫描系列中HB Network Scanner 测试用练习代码
💻 PAS
字号:
unit afincts;

interface

uses
  Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
  ExtCtrls, EPLabels, IndiCtrls, VCLBase;

type
  Tfmincts = class(TForm)
    AIndiButton1: TepIndiButton;
    AIndiButton2: TepIndiButton;
    AIndiGauge5: TepIndiGauge;
    AIndiGauge1: TepIndiGauge;
    AIndiGauge3: TepIndiGauge;
    AIndiGauge4: TepIndiGauge;
    AIndiGauge2: TepIndiGauge;
    AIndiGauge6: TepIndiGauge;
    ANumPanel1: TepNumPanel;
    ANumPanel2: TepNumPanel;
    ALabel27: TepLabel;
    Timer2: TTimer;
    procedure Timer2Timer(Sender: TObject);
    procedure AIndiButton1Click(Sender: TObject);
    procedure AIndiButton2Click(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  fmincts: Tfmincts;

implementation

{$R *.DFM}



procedure Tfmincts.Timer2Timer(Sender: TObject);
begin
  if  AIndiGauge6.Progress = 100 then  AIndiGauge6.Progress := 1;
  AIndiGauge6.Progress :=  AIndiGauge6.Progress + 1;
  AIndiGauge2.Progress :=  AIndiGauge1.Progress;
  ANumPanel1.Value := AIndiGauge6.Progress;
  AIndiGauge1.Progress := 1 + Random(99);
  AIndiGauge2.Progress := 1 + Random(99);
  AIndiGauge3.Progress := 1 + Random(99);
  AIndiGauge4.Progress := 1 + Random(99);
  AIndiGauge5.Progress := 1 + Random(99);
  ANumPanel2.Value := - Random(MaxInt);
end;

procedure Tfmincts.AIndiButton1Click(Sender: TObject);
begin
  Timer2.Enabled := True;
end;

procedure Tfmincts.AIndiButton2Click(Sender: TObject);
begin
  Timer2.Enabled := False;
end;

end.

⌨️ 快捷键说明

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