?? unit_about.pas
字號:
unit Unit_About;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls, StdCtrls, GIFImage, Buttons,shellapi;
type
TFrm_About = class(TForm)
Shape1: TShape;
Image1: TImage;
Label1: TLabel;
Quit_Btn: TSpeedButton;
Label2: TLabel;
Label3: TLabel;
Image2: TImage;
Shift: TShiftState; X, Y: Integer);
procedure Quit_BtnClick(Sender: TObject);
procedure Label3Click(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
Frm_About: TFrm_About;
implementation
{$R *.dfm}
procedure TFrm_About.Shape1MouseDown(Sender: TObject; Button: TMouseButton;
Shift: TShiftState; X, Y: Integer);
const
SC_DRAGMOVE:Longint=$F012; //無標題欄拖動窗口
begin
ReleaseCapture;
SendMessage(Handle,WM_SYSCOMMAND,SC_DRAGMOVE,0);
end;
procedure TFrm_About.Quit_BtnClick(Sender: TObject);
begin
Close;
end;
procedure TFrm_About.Label3Click(Sender: TObject);
begin
Shellexecute(handle,nil,pchar('mailto:yuandagang123@163.com'),nil,nil,sw_shownormal);
end;
end.
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -