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

#ifndef FRAME_UnRegFacilityListFH
#define FRAME_UnRegFacilityListFH
//---------------------------------------------------------------------------
#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 "cxButtons.hpp"
#include "cxCalc.hpp"
#include "cxCheckBox.hpp"
#include "cxClasses.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 "cxLabel.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 "cxContainer.hpp"
//---------------------------------------------------------------------------
class TFRAMEUnRegFacilityList : public TFrame
{
__published:	// IDE-managed Components
    TPanel *PnlTop;
    TPanel *PnlBottom;
    TcxButton *BtnExlSave;
    TcxButton *BtnAllSelect;
    TcxButton *BtnReverse;
    TcxButton *BtnAllClear;
    TLabel *LblRecords;
    TcxGrid *CxList;
    TcxGridTableView *TvList;
    TcxGridColumn *Column01;
    TcxGridColumn *Column02;
    TcxGridColumn *Column03;
    TcxGridLevel *GlList;
    TcxGridColumn *Column99;
    TcxGridColumn *ColumnSel;
    TcxGridColumn *Column00;
    TcxLabel *lblTitle;
    void __fastcall BtnAllSelectClick(TObject *Sender);
    void __fastcall TvListDataControllerFilterChanged(TObject *Sender);
    void __fastcall BtnExlSaveClick(TObject *Sender);
    void __fastcall TvListMouseMove(TObject *Sender, TShiftState Shift, int X, int Y);

private:	// User declarations
    TcxDataController *m_pGDC;
public:		// User declarations
    __fastcall TFRAMEUnRegFacilityList(TComponent* Owner);

    void __fastcall UpdateList();
    int  __fastcall GetSelectIds(String &ALinkIds);
};
//---------------------------------------------------------------------------
//extern PACKAGE TFRAMEUnRegFacilityList *FRAMEUnRegFacilityList;
//---------------------------------------------------------------------------
#endif

