📄 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 + -