📄 aboutfrm.pas
字号:
unit AboutFrm;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, jpeg, ExtCtrls;
type
TAboutForm = class(TForm)
Panel5: TPanel;
LogoImage: TImage;
SoftNameLabel: TLabel;
WebSiteLabel: TLabel;
VersionLabel: TLabel;
BBSLabel: TLabel;
Label6: TLabel;
procedure FormCreate(Sender: TObject);
procedure BBSLabelClick(Sender: TObject);
procedure WebSiteLabelClick(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
function ShowAboutForm: Integer;
implementation
uses ProjectUtils, NhPubUtils;
{$R *.dfm}
function ShowAboutForm: Integer;
begin
with TAboutForm.Create(nil) do
try
Result := ShowModal;
finally
Free;
end;
end;
procedure TAboutForm.BBSLabelClick(Sender: TObject);
begin
OpenURL('http://www.net963.com/BBS/');
end;
procedure TAboutForm.FormCreate(Sender: TObject);
begin
VersionLabel.Caption := GetExeStringVer + ' 测试版';
end;
procedure TAboutForm.WebSiteLabelClick(Sender: TObject);
begin
OpenURL('http://www.net963.com/');
end;
end.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -