aboutunit.pas
来自「简单编译器的源代码,是大学课程设计内容,附简单测试用例」· PAS 代码 · 共 40 行
PAS
40 行
unit aboutUnit;
interface
uses Windows, SysUtils, Classes, Graphics, Forms, Controls, StdCtrls,
Buttons, ExtCtrls;
type
TAboutBox = class(TForm)
OKButton: TButton;
ProductName: TLabel;
Version: TLabel;
ProgramIcon: TImage;
Copyright: TLabel;
Comments: TLabel;
Bevel1: TBevel;
Label1: TLabel;
Label2: TLabel;
procedure OKButtonClick(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
AboutBox: TAboutBox;
implementation
{$R *.DFM}
procedure TAboutBox.OKButtonClick(Sender: TObject);
begin
close;
end;
end.
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?