?? unitabout.pas
字號:
unit UnitAbout;
interface
uses Windows, SysUtils, Classes, Graphics, Forms, Controls, StdCtrls,
Buttons, ExtCtrls, ShellApi;
type
TAboutBox = class(TForm)
Panel1: TPanel;
ProgramIcon: TImage;
ProductName: TLabel;
Version: TLabel;
Copyright: TLabel;
Comments: TLabel;
OKButton: TButton;
Label1: TLabel;
Label2: TLabel;
Label3: TLabel;
Label4: TLabel;
procedure Label2Click(Sender: TObject);
procedure Label3Click(Sender: TObject);
procedure Label4Click(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
AboutBox: TAboutBox;
implementation
{$R *.DFM}
procedure TAboutBox.Label2Click(Sender: TObject);
begin
ShellExecute(Application.handle, 'open', 'http://download.pchome.net/development/delphi/',nil, Nil, SW_Show);
end;
procedure TAboutBox.Label3Click(Sender: TObject);
begin
ShellExecute(Application.handle, 'open', 'http://www.tommstudio.com/newclub30/',nil, Nil, SW_Show);
end;
procedure TAboutBox.Label4Click(Sender: TObject);
begin
ShellExecute(Application.handle, 'open', 'mailto:zwg3172@vip.sina.com',nil, Nil, SW_Show);
end;
end.
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -