aboutbox.pas

来自「房屋出租信息管理系统,房屋出租信息的录入、查询、删除以及用户管理等功能」· PAS 代码 · 共 48 行

PAS
48
字号
unit AboutBox;

interface

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

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

var
  AboutBoxForm: TAboutBoxForm;

implementation

{$R *.dfm}

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

procedure TAboutBoxForm.FormClose(Sender: TObject;
  var Action: TCloseAction);
begin
  Action      :=cafree;
  AboutBoxForm:=nil;
end;

end.

⌨️ 快捷键说明

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