1 |
torben |
2671 |
// ***** BEGIN LICENSE BLOCK *****
|
2 |
|
|
// * Version: MPL 1.1
|
3 |
|
|
// *
|
4 |
|
|
// * The contents of this file are subject to the Mozilla Public License Version
|
5 |
|
|
// * 1.1 (the "License"); you may not use this file except in compliance with
|
6 |
|
|
// * the License. You may obtain a copy of the License at
|
7 |
|
|
// * http://www.mozilla.org/MPL/
|
8 |
|
|
// *
|
9 |
|
|
// * Software distributed under the License is distributed on an "AS IS" basis,
|
10 |
|
|
// * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
11 |
|
|
// * for the specific language governing rights and limitations under the
|
12 |
|
|
// * License.
|
13 |
|
|
// *
|
14 |
|
|
// * The Original Code is TurboPower SysTools
|
15 |
|
|
// *
|
16 |
|
|
// * The Initial Developer of the Original Code is
|
17 |
|
|
// * TurboPower Software
|
18 |
|
|
// *
|
19 |
|
|
// * Portions created by the Initial Developer are Copyright (C) 1996-2002
|
20 |
|
|
// * the Initial Developer. All Rights Reserved.
|
21 |
|
|
// *
|
22 |
|
|
// * Contributor(s):
|
23 |
|
|
// *
|
24 |
|
|
// * ***** END LICENSE BLOCK *****
|
25 |
|
|
//---------------------------------------------------------------------------
|
26 |
|
|
#ifndef ExUsrMg0H
|
27 |
|
|
#define ExUsrMg0H
|
28 |
|
|
//---------------------------------------------------------------------------
|
29 |
|
|
#include <Classes.hpp>
|
30 |
|
|
#include <Controls.hpp>
|
31 |
|
|
#include <StdCtrls.hpp>
|
32 |
|
|
#include <Forms.hpp>
|
33 |
|
|
#include <ComCtrls.hpp>
|
34 |
|
|
#include <ExtCtrls.hpp>
|
35 |
|
|
#include <Menus.hpp>
|
36 |
|
|
#include "StNet.hpp"
|
37 |
|
|
//---------------------------------------------------------------------------
|
38 |
|
|
class TMainForm : public TForm
|
39 |
|
|
{
|
40 |
|
|
__published: // IDE-managed Components
|
41 |
|
|
TSplitter *Splitter1;
|
42 |
|
|
TPanel *Panel1;
|
43 |
|
|
TListView *ListView1;
|
44 |
|
|
TPanel *Panel2;
|
45 |
|
|
TListView *ListView2;
|
46 |
|
|
TMainMenu *MainMenu1;
|
47 |
|
|
TMenuItem *User1;
|
48 |
|
|
TMenuItem *NewUser1;
|
49 |
|
|
TMenuItem *NewGlobalGroup1;
|
50 |
|
|
TMenuItem *NewLocalGroup1;
|
51 |
|
|
TMenuItem *N1;
|
52 |
|
|
TMenuItem *Delete1;
|
53 |
|
|
TMenuItem *Properties1;
|
54 |
|
|
TMenuItem *N2;
|
55 |
|
|
TMenuItem *SelectServer1;
|
56 |
|
|
TMenuItem *N3;
|
57 |
|
|
TMenuItem *Exit1;
|
58 |
|
|
TMenuItem *About1;
|
59 |
|
|
void __fastcall SelectServer1Click(TObject *Sender);
|
60 |
|
|
void __fastcall About1Click(TObject *Sender);
|
61 |
|
|
void __fastcall Properties1Click(TObject *Sender);
|
62 |
|
|
void __fastcall Delete1Click(TObject *Sender);
|
63 |
|
|
void __fastcall ListViewKeyDown(TObject *Sender, WORD &Key,
|
64 |
|
|
TShiftState Shift);
|
65 |
|
|
void __fastcall NewUser1Click(TObject *Sender);
|
66 |
|
|
void __fastcall NewGlobalGroup1Click(TObject *Sender);
|
67 |
|
|
void __fastcall NewLocalGroup1Click(TObject *Sender);
|
68 |
|
|
void __fastcall Exit1Click(TObject *Sender);
|
69 |
|
|
private: // User declarations
|
70 |
|
|
TStNetServerItem* CS;
|
71 |
|
|
TStringList* UL;
|
72 |
|
|
TStringList* GL;
|
73 |
|
|
public: // User declarations
|
74 |
|
|
__fastcall TMainForm(TComponent* Owner);
|
75 |
|
|
};
|
76 |
|
|
//---------------------------------------------------------------------------
|
77 |
|
|
extern PACKAGE TMainForm *MainForm;
|
78 |
|
|
//---------------------------------------------------------------------------
|
79 |
|
|
#endif
|