//--------------------------------------------------------------------------- #ifndef TAS0040MFH #define TAS0040MFH //--------------------------------------------------------------------------- #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include //--------------------------------------------------------------------------- #include "WindowMsgF.h" #include "CDSAtrdF.h" #include "CDSHolidayF.h" #include "cxButtons.hpp" #include "cxContainer.hpp" #include "cxControls.hpp" #include "cxDropDownEdit.hpp" #include "cxEdit.hpp" #include "cxGraphics.hpp" #include "cxGroupBox.hpp" #include "cxLookAndFeelPainters.hpp" #include "cxLookAndFeels.hpp" #include "cxMaskEdit.hpp" #include "cxPC.hpp" #include "cxPCdxBarPopupMenu.hpp" #include "cxTextEdit.hpp" #include "dxSkinBlack.hpp" #include "dxSkinBlue.hpp" #include "dxSkinsCore.hpp" #include "dxSkinscxPCPainter.hpp" class TTAS0040M : public TForm { __published: // IDE-managed Components TTimer *TmrShow; TShape *ShpTitle; TcxButton *BtnClose; TLabel *LblCaption; TShape *ShpList; TEdit *EdFocus; TPanel *PnlBack; TcxGroupBox *cxGroupBox1; TcxPageControl *PgTab; TcxTabSheet *TsList01; TcxGroupBox *cxGroupBox2; TLabel *Label1; TImage *ImgDesc03; TcxButton *BtnSearch; TLabel *Label2; TImage *ImgDesc02; TcxComboBox *CbAtrd; TcxComboBox *CbIfsc; TLabel *Label3; TImage *ImgDesc01; TcxComboBox *CbYear; TcxComboBox *CbType; void __fastcall FormShow(TObject *Sender); void __fastcall TmrShowTimer(TObject *Sender); void __fastcall BtnSearchClick(TObject *Sender); void __fastcall BtnCloseClick(TObject *Sender); void __fastcall PgTabDblClick(TObject *Sender); void __fastcall FormClose(TObject *Sender, TCloseAction &Action); void __fastcall CbAtrdPropertiesChange(TObject *Sender); void __fastcall CbYearPropertiesChange(TObject *Sender); void __fastcall PgTabCanCloseEx(TObject *Sender, int ATabIndex, bool &ACanClose); private: // User declarations void __fastcall CommClose(); String FTitle; public: TItsHolidayManager *MyHolidayManager; TList *m_pFormList; String FAtrdId, FAtrdNm; String FLinkId, FLinkNm; String FQryDay, FQryDayNm; String FPtrnWeek; String FPtrnWeekName; TItsAtrdManager *MyItsAtrdManager; public: // User declarations __fastcall TTAS0040M(TComponent* Owner); void __fastcall FormInit(); void __fastcall RefreshData(); void __fastcall OnSubFormClose(TMessage Msg); BEGIN_MESSAGE_MAP VCL_MESSAGE_HANDLER(WM_SUBFORM_CLOSE, TMessage, OnSubFormClose); END_MESSAGE_MAP(TForm); }; //--------------------------------------------------------------------------- extern PACKAGE TTAS0040M *TAS0040M; //--------------------------------------------------------------------------- #endif