TAS0080MF.h 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. //---------------------------------------------------------------------------
  2. #ifndef TAS0080MFH
  3. #define TAS0080MFH
  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 "CDSVdsCtlrF.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. #include "cxCheckBox.hpp"
  42. #include "cxButtonEdit.hpp"
  43. class TTAS0080M : public TForm
  44. {
  45. __published: // IDE-managed Components
  46. TTimer *TmrShow;
  47. TShape *ShpTitle;
  48. TcxButton *BtnClose;
  49. TLabel *LblCaption;
  50. TShape *ShpList;
  51. TEdit *EdFocus;
  52. TPanel *PnlBack;
  53. TcxGroupBox *cxGroupBox2;
  54. TLabel *Label1;
  55. TImage *ImgDesc03;
  56. TcxButton *BtnSearch;
  57. TLabel *Label2;
  58. TImage *ImgDesc02;
  59. TDateTimePicker *DtStDay;
  60. TDateTimePicker *DtEdDay;
  61. TLabel *Label4;
  62. TcxComboBox *CbStHour;
  63. TcxComboBox *CbEdHour;
  64. TcxButtonEdit *EdAtrd;
  65. TcxPageControl *PgTab;
  66. TcxTabSheet *TsList01;
  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 PgTabCanCloseEx(TObject *Sender, int ATabIndex, bool &ACanClose);
  74. void __fastcall CbStHourPropertiesChange(TObject *Sender);
  75. void __fastcall EdAtrdPropertiesButtonClick(TObject *Sender, int AButtonIndex);
  76. private: // User declarations
  77. void __fastcall CommClose();
  78. String FTitle;
  79. public:
  80. TList *m_pFormList;
  81. TVdsCtlrManager *MyManager;
  82. String FStDay, FEdDay, FStHour, FEdHour, FWeek, FDir, FAtrdNm;
  83. int FTable, FQryType;
  84. public: // User declarations
  85. __fastcall TTAS0080M(TComponent* Owner);
  86. void __fastcall FormInit();
  87. void __fastcall RefreshData();
  88. void __fastcall OnSubFormClose(TMessage Msg);
  89. BEGIN_MESSAGE_MAP
  90. VCL_MESSAGE_HANDLER(WM_SUBFORM_CLOSE, TMessage, OnSubFormClose);
  91. END_MESSAGE_MAP(TForm);
  92. };
  93. //---------------------------------------------------------------------------
  94. extern PACKAGE TTAS0080M *TAS0080M;
  95. //---------------------------------------------------------------------------
  96. #endif