?? testapp.pas
字號:
unit testapp;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, AutoUpdate;
type
TForm1 = class(TForm)
AutoUpdate1: TAutoUpdate;
Button1: TButton;
Memo1: TMemo;
Label1: TLabel;
procedure Button1Click(Sender: TObject);
procedure AutoUpdate1DebugMethod(S: String);
procedure FormCreate(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
Form1: TForm1;
implementation
{$R *.DFM}
procedure TForm1.Button1Click(Sender: TObject);
begin
AutoUpdate1.CheckForUpgrade(True);
end;
procedure TForm1.AutoUpdate1DebugMethod(S: String);
begin
memo1.lines.add(s);
end;
procedure TForm1.FormCreate(Sender: TObject);
begin
Label1.Caption := AutoUpdate1.Version;
end;
end.
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -