CRSM000MF.h 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  1. //---------------------------------------------------------------------------
  2. #ifndef CRSM000MFH
  3. #define CRSM000MFH
  4. //---------------------------------------------------------------------------
  5. #include <Classes.hpp>
  6. #include <Controls.hpp>
  7. #include <StdCtrls.hpp>
  8. #include <Forms.hpp>
  9. #include <DB.hpp>
  10. #include <DBClient.hpp>
  11. #include <FMTBcd.hpp>
  12. #include <Provider.hpp>
  13. #include <SqlExpr.hpp>
  14. #include <Menus.hpp>
  15. #include <ExtCtrls.hpp>
  16. #include <Graphics.hpp>
  17. #include <ComCtrls.hpp>
  18. #include <ADODB.hpp>
  19. //---------------------------------------------------------------------------
  20. //---------------------------------------------------------------------------
  21. #include "DataTypesF.h"
  22. #include "cxButtons.hpp"
  23. #include "cxCheckBox.hpp"
  24. #include "cxClasses.hpp"
  25. #include "cxContainer.hpp"
  26. #include "cxControls.hpp"
  27. #include "cxCustomData.hpp"
  28. #include "cxData.hpp"
  29. #include "cxDataStorage.hpp"
  30. #include "cxEdit.hpp"
  31. #include "cxFilter.hpp"
  32. #include "cxGraphics.hpp"
  33. #include "cxGrid.hpp"
  34. #include "cxGridBandedTableView.hpp"
  35. #include "cxGridCustomTableView.hpp"
  36. #include "cxGridCustomView.hpp"
  37. #include "cxGridLevel.hpp"
  38. #include "cxGridTableView.hpp"
  39. #include "cxGroupBox.hpp"
  40. #include "cxLabel.hpp"
  41. #include "cxLookAndFeelPainters.hpp"
  42. #include "cxLookAndFeels.hpp"
  43. #include "cxStyles.hpp"
  44. #include "cxTextEdit.hpp"
  45. #include "dxSkinBlue.hpp"
  46. #include "dxSkinsCore.hpp"
  47. #include "dxSkinscxPCPainter.hpp"
  48. #include "dxSkinBlack.hpp"
  49. #include "dxSkinMcSkin.hpp"
  50. class TCRSM000M : public TForm
  51. {
  52. __published: // IDE-managed Components
  53. TTimer *TmrShow;
  54. TShape *ShpTitle;
  55. TcxButton *BtnSearch;
  56. TcxButton *BtnClose;
  57. TLabel *LblCaption;
  58. TShape *ShpList;
  59. TEdit *EdFocus;
  60. TPanel *PnlMapBack;
  61. TcxGroupBox *GrpUtis;
  62. TPanel *PnlBottom;
  63. TcxButton *BtnExlSave;
  64. TcxCheckBox *ChkExpand;
  65. TcxGrid *CxList;
  66. TcxGridBandedTableView *TvList;
  67. TcxGridBandedColumn *Col00;
  68. TcxGridBandedColumn *Col01;
  69. TcxGridBandedColumn *Col02;
  70. TcxGridBandedColumn *Col03;
  71. TcxGridBandedColumn *Col04;
  72. TcxGridBandedColumn *Col05;
  73. TcxGridBandedColumn *Col06;
  74. TcxGridBandedColumn *Col07;
  75. TcxGridBandedColumn *Col08;
  76. TcxGridLevel *GlList;
  77. TcxGridBandedColumn *Col09;
  78. TcxGridBandedColumn *Col10;
  79. TcxGridBandedColumn *Col11;
  80. TcxGridBandedColumn *Col12;
  81. TcxGridBandedColumn *Col13;
  82. TcxGridBandedColumn *Col14;
  83. TcxGridBandedColumn *Col15;
  84. TcxGridBandedColumn *Col16;
  85. TcxGridBandedColumn *Col17;
  86. TcxGridBandedColumn *Col18;
  87. TcxGridBandedColumn *Col19;
  88. TcxGridBandedColumn *Col20;
  89. TcxGridBandedColumn *Col21;
  90. TcxGridBandedColumn *Col22;
  91. TcxGridBandedColumn *Col23;
  92. TcxGridBandedColumn *Col24;
  93. TcxGridBandedColumn *Col25;
  94. TcxGridBandedColumn *Col26;
  95. void __fastcall FormShow(TObject *Sender);
  96. void __fastcall TmrShowTimer(TObject *Sender);
  97. void __fastcall BtnSearchClick(TObject *Sender);
  98. void __fastcall BtnCloseClick(TObject *Sender);
  99. void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
  100. void __fastcall BtnExlSaveClick(TObject *Sender);
  101. void __fastcall ChkExpandClick(TObject *Sender);
  102. void __fastcall TvListDataControllerFilterChanged(TObject *Sender);
  103. void __fastcall Col07CustomDrawCell(TcxCustomGridTableView *Sender, TcxCanvas *ACanvas,
  104. TcxGridTableDataCellViewInfo *AViewInfo, bool &ADone);
  105. void __fastcall Col09CustomDrawCell(TcxCustomGridTableView *Sender, TcxCanvas *ACanvas,
  106. TcxGridTableDataCellViewInfo *AViewInfo, bool &ADone);
  107. void __fastcall Col26CustomDrawCell(TcxCustomGridTableView *Sender, TcxCanvas *ACanvas, TcxGridTableDataCellViewInfo *AViewInfo,
  108. bool &ADone);
  109. void __fastcall Col16CustomDrawCell(TcxCustomGridTableView *Sender, TcxCanvas *ACanvas, TcxGridTableDataCellViewInfo *AViewInfo,
  110. bool &ADone);
  111. void __fastcall Col18CustomDrawCell(TcxCustomGridTableView *Sender, TcxCanvas *ACanvas, TcxGridTableDataCellViewInfo *AViewInfo,
  112. bool &ADone);
  113. void __fastcall Col20CustomDrawCell(TcxCustomGridTableView *Sender, TcxCanvas *ACanvas, TcxGridTableDataCellViewInfo *AViewInfo,
  114. bool &ADone);
  115. void __fastcall Col21CustomDrawCell(TcxCustomGridTableView *Sender, TcxCanvas *ACanvas, TcxGridTableDataCellViewInfo *AViewInfo,
  116. bool &ADone);
  117. private: // User declarations
  118. void __fastcall CommClose();
  119. String FTitle;
  120. public:
  121. String FFacilityType;
  122. public: // User declarations
  123. __fastcall TCRSM000M(TComponent* Owner);
  124. void __fastcall FormInit();
  125. void __fastcall RefreshData();
  126. void __fastcall UpdateFacility();
  127. };
  128. //---------------------------------------------------------------------------
  129. extern PACKAGE TCRSM000M *CRSM000M;
  130. //---------------------------------------------------------------------------
  131. #endif