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

#ifndef FRAME_CrsCamListFH
#define FRAME_CrsCamListFH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <ExtCtrls.hpp>
#include <Menus.hpp>
#include <ADODB.hpp>
#include <DB.hpp>
//---------------------------------------------------------------------------
#include "CDSCrossF.h"
#include "cxButtons.hpp"
#include "cxCalc.hpp"
#include "cxCheckBox.hpp"
#include "cxClasses.hpp"
#include "cxContainer.hpp"
#include "cxControls.hpp"
#include "cxCustomData.hpp"
#include "cxData.hpp"
#include "cxDataStorage.hpp"
#include "cxEdit.hpp"
#include "cxFilter.hpp"
#include "cxGraphics.hpp"
#include "cxGrid.hpp"
#include "cxGridCustomTableView.hpp"
#include "cxGridCustomView.hpp"
#include "cxGridLevel.hpp"
#include "cxGridTableView.hpp"
#include "cxLookAndFeelPainters.hpp"
#include "cxLookAndFeels.hpp"
#include "cxStyles.hpp"
#include "cxTextEdit.hpp"
#include "dxSkinBlack.hpp"
#include "dxSkinBlue.hpp"
#include "dxSkinsCore.hpp"
#include "dxSkinscxPCPainter.hpp"
#include "cxLabel.hpp"
#include "cxDropDownEdit.hpp"
#include "cxMaskEdit.hpp"
#include "dxSkinMcSkin.hpp"
//---------------------------------------------------------------------------

class TFRAMECrsCamList : public TFrame
{
__published:	// IDE-managed Components
    TcxGrid *CxList;
    TcxGridTableView *TvList;
    TcxGridColumn *Column00;
    TcxGridColumn *Column01;
    TcxGridColumn *Column02;
    TcxGridColumn *Column03;
    TcxGridColumn *Column04;
    TcxGridColumn *Column05;
    TcxGridColumn *Column06;
    TcxGridColumn *Column07;
    TcxGridColumn *Column08;
    TcxGridColumn *Column09;
    TcxGridColumn *Column10;
    TcxGridColumn *Column11;
    TcxGridColumn *Column12;
    TcxGridColumn *Column99;
    TcxGridLevel *GlList;
    TPanel *PnlTop;
    TPanel *PnlBottom;
    TcxButton *BtnExlSave;
    TcxGridColumn *ColumnSel;
    TcxButton *BtnAllSelect;
    TcxButton *BtnReverse;
    TcxButton *BtnAllClear;
    TLabel *LblRecords;
    TLabel *LbDef;
    TcxCheckBox *ChkExpand;
    TcxLabel *lblFileName;
    TcxComboBox *CbType;
    TcxComboBox *Cb_DTCT_DIR;
    void __fastcall BtnAllSelectClick(TObject *Sender);
    void __fastcall TvListDataControllerFilterChanged(TObject *Sender);
    void __fastcall BtnExlSaveClick(TObject *Sender);
    void __fastcall ChkExpandClick(TObject *Sender);

private:	// User declarations
    TcxDataController *m_pGDC;

public:		// User declarations
    __fastcall TFRAMECrsCamList(TComponent* Owner);
	void __fastcall OnCloseQuery(bool &CanClose);

    void __fastcall UpdateList(int AType=0);
    int  __fastcall GetSelIds(String &ALinkIds);
    int  __fastcall GetSelIds(TStringList *AStringList);
};
//---------------------------------------------------------------------------
//extern PACKAGE TFRAMECrsCamList *FRAMECrsCamList;
//---------------------------------------------------------------------------
#endif

