//---------------------------------------------------------------------------

#ifndef UDemoBDEH
#define UDemoBDEH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <ComCtrls.hpp>
#include <Db.hpp>
#include <DBTables.hpp>
#include <ExtCtrls.hpp>
#include <MRViewer.hpp>
//---------------------------------------------------------------------------
class TForm1 : public TForm
{
__published:	// IDE-managed Components
        TPanel *Panel1;
        TLabel *Label1;
        TLabel *Label2;
        TProgressBar *ProgressBar;
        TRadioGroup *RGType;
        TRadioGroup *RGReport;
        TButton *Button1;
        TQuery *Query3;
        TTable *Table3;
        TQuery *Query2;
        TTable *Table;
        TMRViewer *MRViewer;
        void __fastcall Button1Click(TObject *Sender);
        void __fastcall MRViewerProgress(int Position);
        void __fastcall MRViewerGetDataSet(AnsiString Name, bool IsMain,
          AnsiString DetailInternalName, TDataSet *&FDataSet);
private:	// User declarations
public:		// User declarations
        __fastcall TForm1(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TForm1 *Form1;
//---------------------------------------------------------------------------
#endif
