-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathqUpgrade.pas
More file actions
43 lines (34 loc) · 802 Bytes
/
qUpgrade.pas
File metadata and controls
43 lines (34 loc) · 802 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
unit qUpgrade;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls,
Forms, Dialogs, WSocket, StdCtrls;
type
TUpgradeCheck = class(TForm)
WSocket1: TWSocket;
GroupBox1: TGroupBox;
Status: TLabel;
Upgrade: TButton;
Cancel: TButton;
procedure FormCloseQuery(Sender: TObject; var CanClose: Boolean);
procedure CancelClick(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
UpgradeCheck: TUpgradeCheck;
implementation
{$R *.DFM}
procedure TUpgradeCheck.FormCloseQuery(Sender: TObject;
var CanClose: Boolean);
begin
CanClose := False;
Self.Release;
end;
procedure TUpgradeCheck.CancelClick(Sender: TObject);
begin
Self.Release;
end;
end.