TAS0020MF.h 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. //---------------------------------------------------------------------------
  2. #ifndef TAS0020MFH
  3. #define TAS0020MFH
  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. #include <Dialogs.hpp>
  20. #include <ExtDlgs.hpp>
  21. //---------------------------------------------------------------------------
  22. #include "WindowMsgF.h"
  23. #include "CDSAtrdF.h"
  24. #include "cxButtons.hpp"
  25. #include "cxContainer.hpp"
  26. #include "cxControls.hpp"
  27. #include "cxDropDownEdit.hpp"
  28. #include "cxEdit.hpp"
  29. #include "cxGraphics.hpp"
  30. #include "cxGroupBox.hpp"
  31. #include "cxLookAndFeelPainters.hpp"
  32. #include "cxLookAndFeels.hpp"
  33. #include "cxMaskEdit.hpp"
  34. #include "cxPC.hpp"
  35. #include "cxPCdxBarPopupMenu.hpp"
  36. #include "cxTextEdit.hpp"
  37. #include "dxSkinBlack.hpp"
  38. #include "dxSkinBlue.hpp"
  39. #include "dxSkinsCore.hpp"
  40. #include "dxSkinscxPCPainter.hpp"
  41. class TTAS0020M : public TForm
  42. {
  43. __published: // IDE-managed Components
  44. TTimer *TmrShow;
  45. TShape *ShpTitle;
  46. TcxButton *BtnClose;
  47. TLabel *LblCaption;
  48. TShape *ShpList;
  49. TEdit *EdFocus;
  50. TPanel *PnlBack;
  51. TcxGroupBox *cxGroupBox1;
  52. TcxPageControl *PgTab;
  53. TcxTabSheet *TsList01;
  54. TcxGroupBox *cxGroupBox2;
  55. TImage *ImgDesc01;
  56. TLabel *Label26;
  57. TLabel *Label1;
  58. TImage *ImgDesc03;
  59. TcxButton *BtnSearch;
  60. TcxComboBox *CbPatternWeek;
  61. TDateTimePicker *DtBaseMon;
  62. TLabel *Label2;
  63. TImage *ImgDesc02;
  64. TcxComboBox *CbAtrd;
  65. void __fastcall FormShow(TObject *Sender);
  66. void __fastcall TmrShowTimer(TObject *Sender);
  67. void __fastcall BtnSearchClick(TObject *Sender);
  68. void __fastcall BtnCloseClick(TObject *Sender);
  69. void __fastcall PgTabDblClick(TObject *Sender);
  70. void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
  71. void __fastcall PgTabCanCloseEx(TObject *Sender, int ATabIndex, bool &ACanClose);
  72. private: // User declarations
  73. void __fastcall CommClose();
  74. String FTitle;
  75. public:
  76. TList *m_pFormList;
  77. String FAtrdId, FAtrdNm;
  78. String FQryDay;
  79. String FPtrnWeek;
  80. String FPtrnWeekName;
  81. TItsAtrdManager *MyItsAtrdManager;
  82. public: // User declarations
  83. __fastcall TTAS0020M(TComponent* Owner);
  84. void __fastcall FormInit();
  85. void __fastcall RefreshData();
  86. void __fastcall OnSubFormClose(TMessage Msg);
  87. BEGIN_MESSAGE_MAP
  88. VCL_MESSAGE_HANDLER(WM_SUBFORM_CLOSE, TMessage, OnSubFormClose);
  89. END_MESSAGE_MAP(TForm);
  90. };
  91. //---------------------------------------------------------------------------
  92. extern PACKAGE TTAS0020M *TAS0020M;
  93. //---------------------------------------------------------------------------
  94. #endif