51 lines
1.6 KiB
C
51 lines
1.6 KiB
C
|
|
//---------------------------------------------------------------------------
|
||
|
|
#ifndef DBTrPrnmainH
|
||
|
|
#define DBTrPrnmainH
|
||
|
|
//---------------------------------------------------------------------------
|
||
|
|
#include <vcl\Classes.hpp>
|
||
|
|
#include <vcl\Controls.hpp>
|
||
|
|
#include <vcl\StdCtrls.hpp>
|
||
|
|
#include <vcl\Forms.hpp>
|
||
|
|
#include <vcl\ExtCtrls.hpp>
|
||
|
|
#include <vcl\Buttons.hpp>
|
||
|
|
#include "dxdbtree.hpp"
|
||
|
|
#include "dxtree.hpp"
|
||
|
|
#include <vcl\ComCtrls.hpp>
|
||
|
|
#include <vcl\DB.hpp>
|
||
|
|
#include <vcl\DBTables.hpp>
|
||
|
|
#include <Db.hpp>
|
||
|
|
#include "dxdbtree.hpp"
|
||
|
|
#include "dxmdaset.hpp"
|
||
|
|
#include "dxtree.hpp"
|
||
|
|
#include "dxtrprds.hpp"
|
||
|
|
//---------------------------------------------------------------------------
|
||
|
|
class TFMain : public TForm
|
||
|
|
{
|
||
|
|
__published: // IDE-managed Components
|
||
|
|
TPanel *Panel1;
|
||
|
|
TLabel *Label1;
|
||
|
|
TRadioGroup *RadioGroup;
|
||
|
|
TEdit *ELevels;
|
||
|
|
TButton *Button1;
|
||
|
|
TBitBtn *BitBtn1;
|
||
|
|
TPanel *Panel2;
|
||
|
|
TdxDBTreeView *DBTreeView1;
|
||
|
|
TTable *Table;
|
||
|
|
TDataSource *DataSource1;
|
||
|
|
TImageList *ImageList1;
|
||
|
|
TdxDBTreePrintData *DBTreePrintDataSet;
|
||
|
|
void __fastcall ELevelsKeyPress(TObject *Sender, char &Key);
|
||
|
|
void __fastcall ELevelsExit(TObject *Sender);
|
||
|
|
void __fastcall Button1Click(TObject *Sender);
|
||
|
|
void __fastcall DBTreeView1AddNewItem(TObject *Sender,
|
||
|
|
TdxDBTreeNode *&DBTreeNode);
|
||
|
|
void __fastcall FormCreate(TObject *Sender);
|
||
|
|
private: // User declarations
|
||
|
|
public: // User declarations
|
||
|
|
__fastcall TFMain(TComponent* Owner);
|
||
|
|
};
|
||
|
|
//---------------------------------------------------------------------------
|
||
|
|
extern TFMain *FMain;
|
||
|
|
//---------------------------------------------------------------------------
|
||
|
|
#endif
|