📄 about.pas.~1~
字号:
unit About;
interface
uses
Windows, Classes, Graphics, Forms, Controls, StdCtrls, GrandFuncLib, ExtCtrls,
Buttons, ShellApi, SysUtils, jpeg, RSGLCommon;
type
TAboutForm = class(TForm)
pnlAboutInfo: TPanel;
Author: TPaintBox;
imgAbout: TImage;
lblCurrentUser: TLabel;
lblVersion: TLabel;
lblCopyRight: TLabel;
lblCompany: TLabel;
lblTechSupport: TLabel;
lblService: TLabel;
btClose: TButton;
procedure FormCreate(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
implementation
{$R *.DFM}
procedure TAboutForm.FormCreate(Sender: TObject);
var
l_Build, l_ProductVer: string;
begin
l_ProductVer := GetVersion(Application.ExeName, vtProduct);
l_Build := GetVersion(Application.ExeName, vtBuild);
lblVersion.Caption := lblVersion.Caption + l_ProductVer + ' (Build: ' + l_Build + ')';
lblCurrentUser.Caption := lblCurrentUser.Caption + UserName;
end;
end.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -