aboutform.pas

来自「大量Delphi开发资料」· PAS 代码 · 共 45 行

PAS
45
字号
unit AboutForm;

interface

uses
  Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
  StdCtrls, ExtCtrls;

type
  TForm_About = class(TForm)
    Label1: TLabel;
    Label2: TLabel;
    Label3: TLabel;
    Button1: TButton;
    Label4: TLabel;
    Bevel1: TBevel;
    Label5: TLabel;
    procedure Button1Click(Sender: TObject);
    procedure Label5Click(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  Form_About: TForm_About;

implementation
uses ShellAPI;

{$R *.DFM}

procedure TForm_About.Button1Click(Sender: TObject);
begin
  close;
end;

procedure TForm_About.Label5Click(Sender: TObject);
begin
  ShellExecute( 0,'open','mailto:cgcalf@263.net', nil,nil, SW_SHOWNORMAL);
end;

end.

⌨️ 快捷键说明

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