📄 about.pas
字号:
unit about;
interface
uses Windows, Classes, Graphics, Forms, Controls, StdCtrls,
Buttons, ExtCtrls,MsgU;
type
TAboutBox = class(TForm)
Panel1: TPanel;
OKButton: TButton;
ProgramIcon: TImage;
ProductName: TLabel;
Version: TLabel;
Copyright: TLabel;
regInfo: TLabel;
Label1: TLabel;
procedure OKButtonClick(Sender: TObject);
procedure FormShow(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
AboutBox: TAboutBox;
implementation
{$R *.dfm}
procedure TAboutBox.OKButtonClick(Sender: TObject);
begin
close ;
end;
procedure TAboutBox.FormShow(Sender: TObject);
var
strCount :string ;
begin
strCount :=GetCount;
if strCount<>'999' then
begin
regInfo.Visible :=true ;
regInfo.Caption :='您还可以试用:'+strCount+'次.';
end
else
regInfo.Visible :=false ;
end;
end.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -