/[projects]/dao/DelphiScanner/Components/tpsystools_4.04/examples/CBuilder/ExDictU.h
ViewVC logotype

Contents of /dao/DelphiScanner/Components/tpsystools_4.04/examples/CBuilder/ExDictU.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2671 - (show annotations) (download)
Tue Aug 25 18:15:15 2015 UTC (8 years, 8 months ago) by torben
File MIME type: text/plain
File size: 2789 byte(s)
Added tpsystools component
1 // ***** 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 ExDictUH
27 #define ExDictUH
28 //---------------------------------------------------------------------------
29 #include <vcl\Classes.hpp>
30 #include <vcl\Controls.hpp>
31 #include <vcl\StdCtrls.hpp>
32 #include <vcl\Forms.hpp>
33 #include <vcl\Dialogs.hpp>
34
35 #include "StDict.hpp"
36
37 //---------------------------------------------------------------------------
38 class PACKAGE TForm1 : public TForm
39 {
40 __published: // IDE-managed Components
41 TLabel *Label9;
42 TLabel *Label10;
43 TLabel *Label1;
44 TButton *CreateBtn;
45 TButton *ClearBtn;
46 TListBox *LB1;
47 TEdit *Edit1;
48 TEdit *Edit2;
49 TButton *AddBtn;
50 TButton *DelBtn;
51 TButton *ExistsBtn;
52 TButton *UpdateBtn;
53 TButton *SaveBtn;
54 TButton *LoadBtn;
55 TOpenDialog *OD1;
56 TSaveDialog *SD1;
57 void __fastcall FormCreate(TObject *Sender);
58 void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
59 void __fastcall LB1Click(TObject *Sender);
60 void __fastcall LB1DblClick(TObject *Sender);
61 void __fastcall CreateBtnClick(TObject *Sender);
62 void __fastcall ClearBtnClick(TObject *Sender);
63 void __fastcall AddBtnClick(TObject *Sender);
64 void __fastcall UpdateBtnClick(TObject *Sender);
65 void __fastcall ExistsBtnClick(TObject *Sender);
66 void __fastcall DelBtnClick(TObject *Sender);
67 void __fastcall LoadBtnClick(TObject *Sender);
68 void __fastcall SaveBtnClick(TObject *Sender);
69 private: // User declarations
70 public: // User declarations
71 TStDictionary* MyDD;
72
73 __fastcall TForm1(TComponent* Owner);
74 String RandomData(void);
75 void UpdateButtons(bool DOK);
76 void FillListBox(void);
77 };
78 //---------------------------------------------------------------------------
79 extern PACKAGE TForm1 *Form1;
80 //---------------------------------------------------------------------------
81 #endif

  ViewVC Help
Powered by ViewVC 1.1.20