about.pas

来自「一个delphi开发的库存管理系统源代码」· PAS 代码 · 共 48 行

PAS
48
字号
unit about;

interface

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

type
  Tfabout = class(TForm)
    Image1: TImage;
    Label1: TLabel;
    Label2: TLabel;
    Label3: TLabel;
    Button1: TButton;
    procedure Button1Click(Sender: TObject);
    procedure FormCreate(Sender: TObject);
    procedure Label3Click(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  fabout: Tfabout;

implementation

{$R *.dfm}

procedure Tfabout.Button1Click(Sender: TObject);
begin
Close;
end;

procedure Tfabout.FormCreate(Sender: TObject);
begin
  label1.Caption := '名称:'+Application.Title;
end;

procedure Tfabout.Label3Click(Sender: TObject);
begin
  shellexecute(handle,'open',pchar('mailto:enwen@hdut.com'),nil,nil,sw_shownormal);
end;

end.

⌨️ 快捷键说明

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