📄 about.pas
字号:
unit About;
interface
uses Windows, Classes, Graphics, Forms, Controls, StdCtrls,
Buttons, ExtCtrls;
type
TAboutBox = class(TForm)
Panel1: TPanel;
OKButton: TButton;
ProductName: TLabel;
Version: TLabel;
Copyright: TLabel;
Comments: TLabel;
Label1: TLabel;
Label2: TLabel;
procedure OKButtonClick(Sender: TObject);
procedure FormShow(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
AboutBox: TAboutBox;
implementation
uses mylib;
{$R *.DFM}
procedure TAboutBox.OKButtonClick(Sender: TObject);
begin
aboutbox.close;
end;
procedure TAboutBox.FormShow(Sender: TObject);
begin
version.Caption :=GetBuildInfo;
end;
end.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -