TAS0040MF.h 3.1 KB

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