-
Notifications
You must be signed in to change notification settings - Fork 0
/
FrmHostAccountInfo.h
40 lines (38 loc) · 1.48 KB
/
FrmHostAccountInfo.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
//---------------------------------------------------------------------------
#ifndef FrmHostAccountInfoH
#define FrmHostAccountInfoH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <Grids.hpp>
//---------------------------------------------------------------------------
class TFormHostAccountInfo : public TForm
{
__published: // IDE-managed Components
TButton *BtnOk;
TButton *BtnCancel;
TStringGrid *StringGrid;
TLabel *Label1;
TLabel *LabelUsrCnt;
void __fastcall FormCreate(TObject *Sender);
void __fastcall BtnCancelClick(TObject *Sender);
void __fastcall BtnOkClick(TObject *Sender);
void __fastcall StringGridSetEditText(TObject *Sender, int ACol,
int ARow, const AnsiString Value);
void __fastcall FormDestroy(TObject *Sender);
void __fastcall FormShow(TObject *Sender);
private: // User declarations
TStringList *SortedID;
TStringList *Pass;
TStringList *FName;
int __fastcall CountUsers();
void __fastcall SortGridInfo();
public: // User declarations
__fastcall TFormHostAccountInfo(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TFormHostAccountInfo *FormHostAccountInfo;
//---------------------------------------------------------------------------
#endif