unitabout.pas

来自「速达 界面 编辑器 按钮 非常漂亮的介面控制」· PAS 代码 · 共 48 行

PAS
48
字号
{*******************************************************
By wr960204 王锐

2004/8/8
*******************************************************}
unit UnitAbout;

interface

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

type
  TFormAbout = class(TForm)
    Label1: TLabel;
    Label2: TLabel;
    Label3: TLabel;
    Button1: TButton;
    Label4: TLabel;
    procedure Button1Click(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
    procedure SerVer(Ver: Double);
  end;

var
  FormAbout: TFormAbout;

implementation

{$R *.dfm}

procedure TFormAbout.Button1Click(Sender: TObject);
begin
  ModalResult := mrOk;
end;

procedure TFormAbout.SerVer(Ver: Double);
begin
  Label1.Caption := Label1.Caption + format('版本:%d', [Ver]);
end;

end.

⌨️ 快捷键说明

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