?? aboutunit.pas
字號:
unit Aboutunit;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, Buttons, StdCtrls, ExtCtrls,shellapi;
type
TAboutForm = class(TForm)
Image1: TImage;
Label1: TLabel;
Label3: TLabel;
Label4: TLabel;
EmailLabel: TLabel;
SpeedButton1: TSpeedButton;
procedure SpeedButton1Click(Sender: TObject);
procedure FormClose(Sender: TObject; var Action: TCloseAction);
procedure EmailLabelClick(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
AboutForm: TAboutForm;
implementation
{$R *.dfm}
procedure TAboutForm.SpeedButton1Click(Sender: TObject);
begin
close;
end;
procedure TAboutForm.FormClose(Sender: TObject; var Action: TCloseAction);
begin
action := cafree;
aboutform := nil;
end;
procedure TAboutForm.EmailLabelClick(Sender: TObject);
begin
ShellExecute( Application.Handle, Nil,PChar( 'mailto:'+EmailLabel.Caption), Nil, Nil, SW_SHOWNOACTIVATE );
end;
end.
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -