source: trunk/Packages/synapse/source/demo/httpproxy/Unit1.pas

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 
1unit Unit1;
2
3interface
4
5uses
6 Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
7 StdCtrls, proxythrd;
8
9type
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
20var
21 Form1: TForm1;
22
23implementation
24
25{$R *.DFM}
26
27procedure TForm1.Button1Click(Sender: TObject);
28begin
29 Button1.Enabled := False;
30 TServiceThread.Create;
31end;
32
33procedure TForm1.FormCreate(Sender: TObject);
34begin
35 InitService;
36end;
37
38end.
Note: See TracBrowser for help on using the repository browser.