Last change
on this file was 2, checked in by chronos, 12 years ago |
- Přidáno: Základní kostra projektu.
- Přidáno: Knihovna synapse.
|
File size:
631 bytes
|
Line | |
---|
1 | unit Unit1;
|
---|
2 |
|
---|
3 | interface
|
---|
4 |
|
---|
5 | uses
|
---|
6 | Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
|
---|
7 | StdCtrls, proxythrd;
|
---|
8 |
|
---|
9 | type
|
---|
10 | TForm1 = class(TForm)
|
---|
11 | Button1: TButton;
|
---|
12 | procedure Button1Click(Sender: TObject);
|
---|
13 | procedure FormCreate(Sender: TObject);
|
---|
14 | private
|
---|
15 | { Private declarations }
|
---|
16 | public
|
---|
17 | { Public declarations }
|
---|
18 | end;
|
---|
19 |
|
---|
20 | var
|
---|
21 | Form1: TForm1;
|
---|
22 |
|
---|
23 | implementation
|
---|
24 |
|
---|
25 | {$R *.DFM}
|
---|
26 |
|
---|
27 | procedure TForm1.Button1Click(Sender: TObject);
|
---|
28 | begin
|
---|
29 | Button1.Enabled := False;
|
---|
30 | TServiceThread.Create;
|
---|
31 | end;
|
---|
32 |
|
---|
33 | procedure TForm1.FormCreate(Sender: TObject);
|
---|
34 | begin
|
---|
35 | InitService;
|
---|
36 | end;
|
---|
37 |
|
---|
38 | end.
|
---|
Note:
See
TracBrowser
for help on using the repository browser.