IFM0030MF.h 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. //---------------------------------------------------------------------------
  2. #ifndef IFM0030MFH
  3. #define IFM0030MFH
  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. #include "FRAME_FacilityListF.h"
  21. #include "FRAME_FacilityFailF.h"
  22. #include "FRAME_FacilityFailActionF.h"
  23. #include "cxButtons.hpp"
  24. #include "cxContainer.hpp"
  25. #include "cxControls.hpp"
  26. #include "cxEdit.hpp"
  27. #include "cxGraphics.hpp"
  28. #include "cxGroupBox.hpp"
  29. #include "cxLookAndFeelPainters.hpp"
  30. #include "cxLookAndFeels.hpp"
  31. #include "cxSplitter.hpp"
  32. #include "dxSkinBlack.hpp"
  33. #include "dxSkinBlue.hpp"
  34. #include "dxSkinsCore.hpp"
  35. class TIFM0030M : public TForm
  36. {
  37. __published: // IDE-managed Components
  38. TShape *ShpTitle;
  39. TcxButton *BtnSearch;
  40. TcxButton *BtnClose;
  41. TLabel *LblCaption;
  42. TEdit *EdFocus;
  43. TShape *ShpList;
  44. TTimer *TmrShow;
  45. TPanel *Panel1;
  46. TcxGroupBox *cxGroupBox1;
  47. TcxSplitter *cxSplitter1;
  48. TPanel *Panel2;
  49. TcxGroupBox *cxGroupBox2;
  50. TcxGroupBox *cxGroupBox3;
  51. TcxSplitter *cxSplitter2;
  52. TFRAMEFacilityList *FRAMEFacilityList1;
  53. TFRAMEFacilityFail *FRAMEFacilityFail1;
  54. TFRAMEFacilityFailAction *FRAMEFacilityFailAction1;
  55. TcxButton *BtnErrorHistory;
  56. void __fastcall FormShow(TObject *Sender);
  57. void __fastcall TmrShowTimer(TObject *Sender);
  58. void __fastcall BtnSearchClick(TObject *Sender);
  59. void __fastcall BtnCloseClick(TObject *Sender);
  60. void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
  61. void __fastcall FormCloseQuery(TObject *Sender, bool &CanClose);
  62. void __fastcall FRAMEFacilityList1TvListFocusedRecordChanged(TcxCustomGridTableView *Sender, TcxCustomGridRecord *APrevFocusedRecord,
  63. TcxCustomGridRecord *AFocusedRecord, bool ANewItemRecordFocusingChanged);
  64. void __fastcall FRAMEFacilityFail1TvListFocusedRecordChanged(TcxCustomGridTableView *Sender, TcxCustomGridRecord *APrevFocusedRecord,
  65. TcxCustomGridRecord *AFocusedRecord, bool ANewItemRecordFocusingChanged);
  66. void __fastcall BtnErrorHistoryClick(TObject *Sender);
  67. private: // User declarations
  68. void __fastcall CommClose();
  69. TcxDataController *m_pGDC;
  70. public:
  71. public: // User declarations
  72. __fastcall TIFM0030M(TComponent* Owner);
  73. void __fastcall FormInit();
  74. void __fastcall RefreshData();
  75. };
  76. //---------------------------------------------------------------------------
  77. extern PACKAGE TIFM0030M *IFM0030M;
  78. //---------------------------------------------------------------------------
  79. #endif