wait.~pas

来自「网吧商品销售平台」· ~PAS 代码 · 共 47 行

~PAS
47
字号
unit wait;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs, StdCtrls, RzLabel, RzBckgnd;

type
  TWaitReceiveForm = class(TForm)
    RzBackground1: TRzBackground;
    RzLabel1: TRzLabel;
    Button1: TButton;
    procedure FormClose(Sender: TObject; var Action: TCloseAction);
    procedure Button1Click(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  WaitReceiveForm: TWaitReceiveForm;

implementation

uses client;
{$R *.dfm}

procedure TWaitReceiveForm.FormClose(Sender: TObject;
  var Action: TCloseAction);
begin
if ClientForm.not_allowed_close=True then
begin
action:=canone;
end
else
action:=cafree;
end;

procedure TWaitReceiveForm.Button1Click(Sender: TObject);
begin
close;
end;

end.

⌨️ 快捷键说明

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