VDSM000MF.h 4.8 KB

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