git-svn-id: https://192.168.0.254/svn/Componentes.Terceros.DevExpressVCL@26 05c56307-c608-d34a-929d-697000501d7a
69 lines
2.3 KiB
C++
69 lines
2.3 KiB
C++
//---------------------------------------------------------------------------
|
|
#ifndef DBTree_FmainH
|
|
#define DBTree_FmainH
|
|
//---------------------------------------------------------------------------
|
|
#include <vcl\Classes.hpp>
|
|
#include <vcl\Controls.hpp>
|
|
#include <vcl\StdCtrls.hpp>
|
|
#include <vcl\Forms.hpp>
|
|
#include <vcl\ComCtrls.hpp>
|
|
#include <vcl\ExtCtrls.hpp>
|
|
#include <vcl\Buttons.hpp>
|
|
#include <vcl\DBCtrls.hpp>
|
|
#include <vcl\DBTables.hpp>
|
|
#include <vcl\DB.hpp>
|
|
#include "dxdbtree.hpp"
|
|
#include "dxtree.hpp"
|
|
#include <Db.hpp>
|
|
#include <Mask.hpp>
|
|
//---------------------------------------------------------------------------
|
|
class TForm1 : public TForm
|
|
{
|
|
int MaxValue;
|
|
__published: // IDE-managed Components
|
|
TdxDBTreeView *DBTreeView1;
|
|
TPanel *Panel1;
|
|
TButton *Button1;
|
|
TBitBtn *BitBtnAdd;
|
|
TBitBtn *BitBtnAddChild;
|
|
TBitBtn *BitBtnEdit;
|
|
TBitBtn *BitBtnDel;
|
|
TBitBtn *BitBtn2;
|
|
TButton *Button2;
|
|
TButton *Button3;
|
|
TCheckBox *CheckBox1;
|
|
TCheckBox *CheckBox2;
|
|
TCheckBox *CheckBox3;
|
|
TDBNavigator *DBNavigator1;
|
|
TTable *Table1;
|
|
TIntegerField *Table1id;
|
|
TIntegerField *Table1parent;
|
|
TStringField *Table1name;
|
|
TStringField *Table1buffer;
|
|
TDataSource *DataSource1;
|
|
TDBEdit *DBEdit1;
|
|
TDBEdit *DBEdit2;
|
|
void __fastcall Button1Click(TObject *Sender);
|
|
void __fastcall FormCreate(TObject *Sender);
|
|
void __fastcall FormDestroy(TObject *Sender);
|
|
void __fastcall BitBtnAddClick(TObject *Sender);
|
|
void __fastcall BitBtnAddChildClick(TObject *Sender);
|
|
void __fastcall BitBtnEditClick(TObject *Sender);
|
|
void __fastcall BitBtnDelClick(TObject *Sender);
|
|
void __fastcall BitBtn2Click(TObject *Sender);
|
|
void __fastcall Button2Click(TObject *Sender);
|
|
void __fastcall Button3Click(TObject *Sender);
|
|
void __fastcall CheckBox1Click(TObject *Sender);
|
|
void __fastcall CheckBox2Click(TObject *Sender);
|
|
void __fastcall CheckBox3Click(TObject *Sender);
|
|
void __fastcall DBTreeView1CreateNewKeyValue(TObject *Sender,
|
|
Variant &NewKeyValue);
|
|
private: // User declarations
|
|
public: // User declarations
|
|
__fastcall TForm1(TComponent* Owner);
|
|
};
|
|
//---------------------------------------------------------------------------
|
|
extern TForm1 *Form1;
|
|
//---------------------------------------------------------------------------
|
|
#endif
|