-
Notifications
You must be signed in to change notification settings - Fork 9
/
Main.h
57 lines (56 loc) · 1.75 KB
/
Main.h
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
//---------------------------------------------------------------------------
#ifndef MainH
#define MainH
//---------------------------------------------------------------------------
#include <System.Classes.hpp>
#include <Vcl.Controls.hpp>
#include <Vcl.StdCtrls.hpp>
#include <Vcl.Forms.hpp>
#include "OverbyteIcsWndControl.hpp"
#include "OverbyteIcsWSocket.hpp"
#include "OverbyteIcsWSocketS.hpp"
#include <Vcl.ComCtrls.hpp>
//---------------------------------------------------------------------------
class TForm1 : public TForm
{
__published: // IDE-managed Components
TLabel *Label1;
TLabel *Label2;
TLabel *Label3;
TEdit *RemotePort;
TButton *ListenBtn;
TEdit *edWorker;
TEdit *RemoteAddr;
TEdit *RealIP;
TLabel *Label4;
TLabel *Label5;
TComboBox *ComboBox1;
TLabel *Label6;
TButton *Button1;
TComboBox *ComboBox2;
TLabel *Label7;
TTrackBar *TrackBar1;
TLabel *Label9;
TTrackBar *TrackBar2;
TLabel *Label8;
TEdit *StartTime;
TLabel *Label10;
TMemo *LocalPorts;
void __fastcall ListenBtnClick(TObject *Sender);
void __fastcall FormCanResize(TObject *Sender, int &NewWidth, int &NewHeight, bool &Resize);
void __fastcall ComboBox1Change(TObject *Sender);
void __fastcall FormShow(TObject *Sender);
void __fastcall LoadFromFile();
void __fastcall TrackBar1Change(TObject *Sender);
void __fastcall TrackBar2Change(TObject *Sender);
void __fastcall Button1Click(TObject *Sender);
private:
public: // User declarations
__fastcall TForm1(TComponent* Owner);
bool EnableLocalPort;
short minOSDDonation;
};
//---------------------------------------------------------------------------
extern PACKAGE TForm1 *Form1;
//---------------------------------------------------------------------------
#endif