//---------------------------------------------------------------------------
#ifndef ServerWindowH
#define ServerWindowH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
//---------------------------------------------------------------------------
class TServerWin : public TForm
{
__published:	// IDE-managed Components
    TGroupBox *GroupBox1;
    TEdit *ServerIPEB;
    TCheckBox *CBlockScanCB;
    TButton *EstablishConnectionBTN;
    TListBox *ServerWebLB;
    TLabel *Label1;
    TEdit *NumberServersEB;
    TLabel *Label4;
    TLabel *Label2;
    TCheckBox *EqualAllocationCB;
    TButton *RemoveBTN;
    TLabel *Label3;
    TLabel *Label5;
    TEdit *SliceSizeEB;
    void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
    
    void __fastcall EstablishConnectionBTNClick(TObject *Sender);
    void __fastcall RemoveBTNClick(TObject *Sender);
private:	// User declarations
public:		// User declarations
    __fastcall TServerWin(TComponent* Owner);
    void UpdateServerList();
};
//---------------------------------------------------------------------------
extern PACKAGE TServerWin *ServerWin;
//---------------------------------------------------------------------------
#endif
