unit3.pas

来自「计算机网络与通信的知识」· PAS 代码 · 共 46 行

PAS
46
字号
unit Unit3;

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;
    Label1: TLabel;
    BitBtn1: TBitBtn;
    Label2: TLabel;
    Label3: TLabel;
    procedure Label2Click(Sender: TObject);
    procedure Label3Click(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  AboutBox: TAboutBox;

implementation

{$R *.DFM}

procedure TAboutBox.Label2Click(Sender: TObject);
begin
shellexecute(handle,'open',pchar('mailto:dcszl@263.net'),'"','"',sw_shownormal);
end;

procedure TAboutBox.Label3Click(Sender: TObject);
begin
shellexecute(handle,'open',pchar('http://dcschina.home.chinaren.com'),'"','"',sw_shownormal);
end;

end.
 

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?