123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105 |
- //---------------------------------------------------------------------------
- #ifndef FrmGisSearchFH
- #define FrmGisSearchFH
- //---------------------------------------------------------------------------
- #include <Classes.hpp>
- #include <Controls.hpp>
- #include <StdCtrls.hpp>
- #include <Forms.hpp>
- #include <ADODB.hpp>
- #include <DB.hpp>
- #include <ExtCtrls.hpp>
- #include <Menus.hpp>
- #include "cxButtons.hpp"
- #include "cxCalc.hpp"
- #include "cxClasses.hpp"
- #include "cxContainer.hpp"
- #include "cxControls.hpp"
- #include "cxCustomData.hpp"
- #include "cxData.hpp"
- #include "cxDataStorage.hpp"
- #include "cxDropDownEdit.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 "cxMaskEdit.hpp"
- #include "cxStyles.hpp"
- #include "cxTextEdit.hpp"
- #include "dxSkinBlack.hpp"
- #include "dxSkinBlue.hpp"
- #include "dxSkinsCore.hpp"
- #include "dxSkinscxPCPainter.hpp"
- //---------------------------------------------------------------------------
- class TFrmGisSearch : public TForm
- {
- __published: // IDE-managed Components
- TTimer *TmrShow;
- TShape *ShpList;
- TcxButton *BtnSearch;
- TcxTextEdit *EdSearch;
- TcxComboBox *CbType;
- TTimer *TmrClear;
- TcxGrid *CxList;
- TcxGridTableView *TvList;
- TcxGridColumn *Column01;
- TcxGridColumn *Column02;
- TcxGridColumn *Column03;
- TcxGridColumn *Column04;
- TcxGridColumn *Column05;
- TcxGridColumn *Column06;
- TcxGridColumn *Column07;
- TcxGridLevel *GlList;
- TcxGridColumn *Column99;
- TcxLabel *lblNode1;
- TcxLabel *lblNode2;
- TcxLabel *lblLink1;
- TcxLabel *lblLink2;
- TcxLabel *lblLink3;
- TcxLabel *lblIfsc1;
- TcxLabel *lblIfsc2;
- TcxLabel *lblIfsc3;
- TcxLabel *lblIfsc4;
- void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
- void __fastcall FormDestroy(TObject *Sender);
- void __fastcall TmrShowTimer(TObject *Sender);
- void __fastcall BtnSearchClick(TObject *Sender);
- void __fastcall EdSearchKeyPress(TObject *Sender, wchar_t &Key);
- void __fastcall TmrClearTimer(TObject *Sender);
- void __fastcall TvListCellDblClick(TcxCustomGridTableView *Sender, TcxGridTableDataCellViewInfo *ACellViewInfo, TMouseButton AButton,
- TShiftState AShift, bool &AHandled);
- void __fastcall TvListDataControllerFilterChanged(TObject *Sender);
- private: // User declarations
- TcxDataController *m_pGDC;
- public:
- bool m_bClose;
-
- int m_nType;
- int m_nLevel;
- String m_sId;
-
- void __fastcall SelList();
- void __fastcall SelNode(String AParam);
- void __fastcall SelLink(String AParam);
- void __fastcall SelServiceLink(String AParam);
- void __fastcall SelRoad(String AParam);
- void __fastcall SelGisItem();
- public: // User declarations
- __fastcall TFrmGisSearch(TComponent* Owner);
- };
- //---------------------------------------------------------------------------
- extern PACKAGE TFrmGisSearch *FrmGisSearch;
- //---------------------------------------------------------------------------
- #endif
|