PRK0014MF.h 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. //---------------------------------------------------------------------------
  2. #ifndef PRK0014MFH
  3. #define PRK0014MFH
  4. //---------------------------------------------------------------------------
  5. #include <Classes.hpp>
  6. #include <Controls.hpp>
  7. #include <StdCtrls.hpp>
  8. #include <Forms.hpp>
  9. #include <Menus.hpp>
  10. #include "CDSPrkPlceF.h"
  11. #include "cxButtons.hpp"
  12. #include "cxContainer.hpp"
  13. #include "cxControls.hpp"
  14. #include "cxEdit.hpp"
  15. #include "cxGraphics.hpp"
  16. #include "cxGroupBox.hpp"
  17. #include "cxLookAndFeelPainters.hpp"
  18. #include "cxLookAndFeels.hpp"
  19. #include "dxSkinBlack.hpp"
  20. #include "dxSkinMcSkin.hpp"
  21. #include "dxSkinsCore.hpp"
  22. #include "cxLabel.hpp"
  23. #include "cxMaskEdit.hpp"
  24. #include "cxSpinEdit.hpp"
  25. #include "cxTextEdit.hpp"
  26. #include <ExtCtrls.hpp>
  27. #include "cxClasses.hpp"
  28. #include "cxCustomData.hpp"
  29. #include "cxData.hpp"
  30. #include "cxDataStorage.hpp"
  31. #include "cxFilter.hpp"
  32. #include "cxGrid.hpp"
  33. #include "cxGridCustomTableView.hpp"
  34. #include "cxGridCustomView.hpp"
  35. #include "cxGridLevel.hpp"
  36. #include "cxGridTableView.hpp"
  37. #include "cxStyles.hpp"
  38. #include "dxSkinscxPCPainter.hpp"
  39. //---------------------------------------------------------------------------
  40. class TPRK0014M : public TForm
  41. {
  42. __published: // IDE-managed Components
  43. TcxButton *BtnSelect;
  44. TcxButton *BtnCancel;
  45. TcxGroupBox *GrpCaption;
  46. TcxGrid *CxFlrNo;
  47. TcxGridTableView *TvFlrNo;
  48. TcxGridColumn *Col01;
  49. TcxGridColumn *Col02;
  50. TcxGridColumn *Col03;
  51. TcxGridColumn *Col04;
  52. TcxGridColumn *Col05;
  53. TcxGridColumn *Col06;
  54. TcxGridLevel *GlFlrNo;
  55. TcxLabel *cxLabel7;
  56. TImage *ImgDesc35;
  57. TcxLabel *cxLabel1;
  58. TImage *Image1;
  59. TcxTextEdit *FLR_NO;
  60. TcxSpinEdit *FLR_PRK_CMPRT_CO;
  61. TcxButton *BtnListAdd;
  62. TcxButton *BtnListDelete;
  63. void __fastcall BtnSelectClick(TObject *Sender);
  64. void __fastcall BtnCancelClick(TObject *Sender);
  65. void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
  66. void __fastcall TvFlrNoCellDblClick(TcxCustomGridTableView *Sender, TcxGridTableDataCellViewInfo *ACellViewInfo, TMouseButton AButton,
  67. TShiftState AShift, bool &AHandled);
  68. void __fastcall BtnListAddClick(TObject *Sender);
  69. void __fastcall BtnListDeleteClick(TObject *Sender);
  70. private: // User declarations
  71. TPrkPlce *FObj;
  72. public:
  73. bool FSelected;
  74. TItsMap<String, TPrkPlceFlr*> FFlrs;
  75. void __fastcall UpdateList();
  76. bool __fastcall FindParkingFloor(String ANmbr);
  77. public:
  78. __property bool Selected = {read=FSelected};
  79. public: // User declarations
  80. __fastcall TPRK0014M(TComponent* Owner, TPrkPlce *AObj);
  81. };
  82. //---------------------------------------------------------------------------
  83. extern PACKAGE TPRK0014M *PRK0014M;
  84. //---------------------------------------------------------------------------
  85. #endif