yhhz_aboutbox.pas

来自「一个票据管理系统」· PAS 代码 · 共 46 行

PAS
46
字号
unit yhhz_AboutBox;      //软件关于窗体项目

interface

uses Windows, SysUtils, Classes, Graphics, Forms, Controls, StdCtrls,
  Buttons, ExtCtrls;

type
  TF_ABox = class(TForm)
    Panel1: TPanel;
    ProgramIcon: TImage;
    ProductName: TLabel;
    Version: TLabel;
    Copyright: TLabel;
    Comments: TLabel;
    OKButton: TButton;
    Label1: TLabel;
    Label2: TLabel;
    procedure OKButtonClick(Sender: TObject);
    procedure formclose(Sender: TObject; var Action: TCloseAction);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  F_ABox: TF_ABox;

implementation

{$R *.dfm}

procedure TF_ABox.OKButtonClick(Sender: TObject);
begin
  close;
end;

procedure TF_ABox.formclose(Sender: TObject; var Action: TCloseAction);
begin
   close;
end;

end.
 

⌨️ 快捷键说明

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