| 2265 |
kivins |
1 |
//---------------------------------------------------------------------------
|
|
|
2 |
|
|
|
3 |
#ifndef ImportTransactionParametersH
|
|
|
4 |
#define ImportTransactionParametersH
|
|
|
5 |
//---------------------------------------------------------------------------
|
|
|
6 |
#include <Classes.hpp>
|
|
|
7 |
#include <Controls.hpp>
|
|
|
8 |
#include <StdCtrls.hpp>
|
|
|
9 |
#include <Forms.hpp>
|
|
|
10 |
#include <Buttons.hpp>
|
|
|
11 |
#include "AdvDirectoryEdit.hpp"
|
|
|
12 |
#include "AdvEdBtn.hpp"
|
|
|
13 |
#include "AdvEdit.hpp"
|
|
|
14 |
#include "FlCtrlEx.hpp"
|
|
|
15 |
#include <FileCtrl.hpp>
|
|
|
16 |
//---------------------------------------------------------------------------
|
|
|
17 |
class TImportTransactionParametersForm : public TForm
|
|
|
18 |
{
|
|
|
19 |
__published: // IDE-managed Components
|
|
|
20 |
TBitBtn *Cancel;
|
|
|
21 |
TBitBtn *OK;
|
|
|
22 |
TLabel *ImportProfileLabel;
|
|
|
23 |
TComboBox *ImportProfileComboBox;
|
|
|
24 |
TAdvDirectoryEdit *ImportFolderDirectoryEdit;
|
|
|
25 |
TLabel *ImportFolderDirectoryLabel;
|
|
|
26 |
TFileListBoxEx *ImportFileListBox;
|
|
|
27 |
void __fastcall FormShow(TObject *Sender);
|
|
|
28 |
void __fastcall OKClick(TObject *Sender);
|
|
|
29 |
void __fastcall ImportFolderDirectoryEditChange(TObject *Sender);
|
|
|
30 |
void __fastcall ImportProfileComboBoxChange(TObject *Sender);
|
|
|
31 |
|
|
|
32 |
private: // User declarations
|
|
|
33 |
void __fastcall readProfile( TRegistry & registry, const AnsiString & profile );
|
|
|
34 |
void __fastcall writeProfile( TRegistry & registry, const AnsiString & profile );
|
|
|
35 |
static const char * g_importKey;
|
|
|
36 |
|
|
|
37 |
public: // User declarations
|
|
|
38 |
__fastcall TImportTransactionParametersForm(TComponent* Owner);
|
|
|
39 |
};
|
|
|
40 |
//---------------------------------------------------------------------------
|
|
|
41 |
extern PACKAGE TImportTransactionParametersForm *ImportTransactionParametersForm;
|
|
|
42 |
//---------------------------------------------------------------------------
|
|
|
43 |
#endif
|