2023-11-07 23:47:38 +08:00
|
|
|
unit unit_webrunform;
|
2023-11-07 17:10:47 +08:00
|
|
|
|
|
|
|
interface
|
|
|
|
|
|
|
|
uses
|
|
|
|
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
|
2023-11-07 23:44:02 +08:00
|
|
|
Dialogs, StdCtrls, Buttons;
|
2023-11-07 17:10:47 +08:00
|
|
|
|
|
|
|
type
|
2023-11-07 23:44:02 +08:00
|
|
|
Twnd_webrunform = class(TForm)
|
2023-12-06 23:01:25 +08:00
|
|
|
BitBtn1: TBitBtn;
|
|
|
|
BitBtn2: TBitBtn;
|
|
|
|
BitBtn3: TBitBtn;
|
|
|
|
Label1: TLabel;
|
|
|
|
|
2023-12-02 19:57:04 +08:00
|
|
|
procedure BitBtn2Click(Sender: TObject);
|
|
|
|
procedure BitBtn3Click(Sender: TObject);
|
|
|
|
procedure BitBtn1Click(Sender: TObject);
|
2023-11-07 17:10:47 +08:00
|
|
|
private
|
|
|
|
{ Private declarations }
|
|
|
|
public
|
|
|
|
{ Public declarations }
|
|
|
|
end;
|
|
|
|
|
|
|
|
var
|
2023-11-07 23:44:02 +08:00
|
|
|
wnd_webrunform: Twnd_webrunform;
|
2023-11-07 17:10:47 +08:00
|
|
|
|
|
|
|
implementation
|
|
|
|
|
|
|
|
{$R *.dfm}
|
|
|
|
|
2023-12-02 19:57:04 +08:00
|
|
|
procedure Twnd_webrunform.BitBtn2Click(Sender: TObject);
|
|
|
|
begin
|
2023-12-06 23:01:25 +08:00
|
|
|
ModalResult:= mrCancel;
|
2023-12-02 19:57:04 +08:00
|
|
|
end;
|
|
|
|
|
|
|
|
procedure Twnd_webrunform.BitBtn3Click(Sender: TObject);
|
|
|
|
begin
|
2023-12-06 23:01:25 +08:00
|
|
|
ModalResult:= mrOk;
|
2023-12-02 19:57:04 +08:00
|
|
|
end;
|
|
|
|
|
|
|
|
procedure Twnd_webrunform.BitBtn1Click(Sender: TObject);
|
|
|
|
begin
|
2023-12-06 23:01:25 +08:00
|
|
|
ModalResult:= mrYes;
|
2023-12-02 19:57:04 +08:00
|
|
|
end;
|
|
|
|
|
2023-11-07 17:10:47 +08:00
|
|
|
end.
|
2023-12-06 23:01:25 +08:00
|
|
|
|