frmaboutbox.pas

来自「Mailserver Source code - Delphi. Simp」· PAS 代码 · 共 48 行

PAS
48
字号
unit FrmAboutBox;

interface

uses Windows, SysUtils, Classes, Graphics, Forms, Controls, StdCtrls,
  Buttons, ExtCtrls, jpeg,shellapi;

type   
  TFrmAboutBox1 = class(TForm)
    Panel1: TPanel;
    ProgramIcon: TImage;
    ProductName: TLabel;
    Version: TLabel;
    Copyright: TLabel;
    OKButton: TButton;
    Label1: TLabel;
    Label2: TLabel;
    Label3: TLabel;
    Label4: TLabel;
    Label5: TLabel;
    procedure OKButtonClick(Sender: TObject);
    procedure Label5Click(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  FrmAboutBox1: TFrmAboutBox1;

implementation

{$R *.dfm}

procedure TFrmAboutBox1.OKButtonClick(Sender: TObject);
begin
  close;
end;

procedure TFrmAboutBox1.Label5Click(Sender: TObject);
begin
  shellexecute(handle,nil,pchar('http://www.newease.com/'),nil,nil,sw_shownormal);
end;

end.
 

⌨️ 快捷键说明

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