-
Notifications
You must be signed in to change notification settings - Fork 0
/
FrmHostList.h
46 lines (44 loc) · 1.71 KB
/
FrmHostList.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
//---------------------------------------------------------------------------
#ifndef FrmHostListH
#define FrmHostListH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <Grids.hpp>
#include <CheckLst.hpp>
#include "HostList.h"
//---------------------------------------------------------------------------
class TFormHostList : public TForm
{
__published: // IDE-managed Components
TButton *BtnCancel;
TCheckListBox *CheckListBox;
TLabel *Label1;
TButton *BtnEdit;
TButton *BtnApply;
TButton *BtnAdd;
TButton *BtnRemove;
void __fastcall BtnCancelClick(TObject *Sender);
void __fastcall BtnApplyClick(TObject *Sender);
void __fastcall CheckListBoxMouseUp(TObject *Sender,
TMouseButton Button, TShiftState Shift, int X, int Y);
void __fastcall CheckListBoxClickCheck(TObject *Sender);
void __fastcall BtnEditClick(TObject *Sender);
void __fastcall FormShow(TObject *Sender);
void __fastcall BtnAddClick(TObject *Sender);
void __fastcall BtnRemoveClick(TObject *Sender);
private: // User declarations
int LastClick;
int HostCount;
THostList *Source;
TRemoteHostInfoPtr MyHostList;
public: // User declarations
__fastcall TFormHostList(TComponent* Owner);
void __fastcall SetMyHostList(THostList *src, TRemoteHostInfoPtr hl, int Count);
};
//---------------------------------------------------------------------------
extern PACKAGE TFormHostList *FormHostList;
//---------------------------------------------------------------------------
#endif