FrmGisSearchF.h 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. //---------------------------------------------------------------------------
  2. #ifndef FrmGisSearchFH
  3. #define FrmGisSearchFH
  4. //---------------------------------------------------------------------------
  5. #include <Classes.hpp>
  6. #include <Controls.hpp>
  7. #include <StdCtrls.hpp>
  8. #include <Forms.hpp>
  9. #include <ADODB.hpp>
  10. #include <DB.hpp>
  11. #include <ExtCtrls.hpp>
  12. #include <Menus.hpp>
  13. #include "cxButtons.hpp"
  14. #include "cxCalc.hpp"
  15. #include "cxClasses.hpp"
  16. #include "cxContainer.hpp"
  17. #include "cxControls.hpp"
  18. #include "cxCustomData.hpp"
  19. #include "cxData.hpp"
  20. #include "cxDataStorage.hpp"
  21. #include "cxDropDownEdit.hpp"
  22. #include "cxEdit.hpp"
  23. #include "cxFilter.hpp"
  24. #include "cxGraphics.hpp"
  25. #include "cxGrid.hpp"
  26. #include "cxGridCustomTableView.hpp"
  27. #include "cxGridCustomView.hpp"
  28. #include "cxGridLevel.hpp"
  29. #include "cxGridTableView.hpp"
  30. #include "cxLabel.hpp"
  31. #include "cxLookAndFeelPainters.hpp"
  32. #include "cxLookAndFeels.hpp"
  33. #include "cxMaskEdit.hpp"
  34. #include "cxStyles.hpp"
  35. #include "cxTextEdit.hpp"
  36. #include "dxSkinBlack.hpp"
  37. #include "dxSkinBlue.hpp"
  38. #include "dxSkinsCore.hpp"
  39. #include "dxSkinscxPCPainter.hpp"
  40. //---------------------------------------------------------------------------
  41. class TFrmGisSearch : public TForm
  42. {
  43. __published: // IDE-managed Components
  44. TTimer *TmrShow;
  45. TShape *ShpList;
  46. TcxButton *BtnSearch;
  47. TcxTextEdit *EdSearch;
  48. TcxComboBox *CbType;
  49. TTimer *TmrClear;
  50. TcxGrid *CxList;
  51. TcxGridTableView *TvList;
  52. TcxGridColumn *Column01;
  53. TcxGridColumn *Column02;
  54. TcxGridColumn *Column03;
  55. TcxGridColumn *Column04;
  56. TcxGridColumn *Column05;
  57. TcxGridColumn *Column06;
  58. TcxGridColumn *Column07;
  59. TcxGridLevel *GlList;
  60. TcxGridColumn *Column99;
  61. TcxLabel *lblNode1;
  62. TcxLabel *lblNode2;
  63. TcxLabel *lblLink1;
  64. TcxLabel *lblLink2;
  65. TcxLabel *lblLink3;
  66. TcxLabel *lblIfsc1;
  67. TcxLabel *lblIfsc2;
  68. TcxLabel *lblIfsc3;
  69. TcxLabel *lblIfsc4;
  70. void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
  71. void __fastcall FormDestroy(TObject *Sender);
  72. void __fastcall TmrShowTimer(TObject *Sender);
  73. void __fastcall BtnSearchClick(TObject *Sender);
  74. void __fastcall EdSearchKeyPress(TObject *Sender, wchar_t &Key);
  75. void __fastcall TmrClearTimer(TObject *Sender);
  76. void __fastcall TvListCellDblClick(TcxCustomGridTableView *Sender, TcxGridTableDataCellViewInfo *ACellViewInfo, TMouseButton AButton,
  77. TShiftState AShift, bool &AHandled);
  78. void __fastcall TvListDataControllerFilterChanged(TObject *Sender);
  79. private: // User declarations
  80. TcxDataController *m_pGDC;
  81. public:
  82. bool m_bClose;
  83. int m_nType;
  84. int m_nLevel;
  85. String m_sId;
  86. void __fastcall SelList();
  87. void __fastcall SelNode(String AParam);
  88. void __fastcall SelLink(String AParam);
  89. void __fastcall SelServiceLink(String AParam);
  90. void __fastcall SelRoad(String AParam);
  91. void __fastcall SelGisItem();
  92. public: // User declarations
  93. __fastcall TFrmGisSearch(TComponent* Owner);
  94. };
  95. //---------------------------------------------------------------------------
  96. extern PACKAGE TFrmGisSearch *FrmGisSearch;
  97. //---------------------------------------------------------------------------
  98. #endif