unitabout.pas

来自「DELPHI的报表控件」· PAS 代码 · 共 54 行

PAS
54
字号
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 + =
减小字号Ctrl + -
显示快捷键?