?? unit1.pas
字號(hào):
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, MSN_Msg;
type
TForm1 = class(TForm)
Button1: TButton;
Msg: TMSN_Msg;
Button2: TButton;
procedure Button1Click(Sender: TObject);
procedure FormCreate(Sender: TObject);
procedure Button2Click(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
Form1: TForm1;
implementation
{$R *.dfm}
procedure TForm1.Button1Click(Sender: TObject);
begin
MSG.MsgInfo:=' 發(fā)現(xiàn)最版本程序!請(qǐng)登陸 http://www.sogo.com 下載!';
msg.Show ;
end;
procedure TForm1.FormCreate(Sender: TObject);
begin
//msg.MSgClick:=button2.onclick;
end;
procedure TForm1.Button2Click(Sender: TObject);
begin
SHOWMESSAGE('');
end;
end.
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -