123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185 |
- //---------------------------------------------------------------------------
- #ifndef IHS0070MFH
- #define IHS0070MFH
- //---------------------------------------------------------------------------
- #include <Classes.hpp>
- #include <Controls.hpp>
- #include <StdCtrls.hpp>
- #include <Forms.hpp>
- #include <DB.hpp>
- #include <DBClient.hpp>
- #include <FMTBcd.hpp>
- #include <Provider.hpp>
- #include <SqlExpr.hpp>
- #include <Menus.hpp>
- #include <ExtCtrls.hpp>
- #include <Graphics.hpp>
- #include <ComCtrls.hpp>
- #include <ADODB.hpp>
- #include <Dialogs.hpp>
- #include <ExtDlgs.hpp>
- //---------------------------------------------------------------------------
- //---------------------------------------------------------------------------
- #include "WindowMsgF.h"
- #include "FRAME_ItsCrossF.h"
- #include "cxButtons.hpp"
- #include "cxCalendar.hpp"
- #include "cxContainer.hpp"
- #include "cxControls.hpp"
- #include "cxDropDownEdit.hpp"
- #include "cxEdit.hpp"
- #include "cxGraphics.hpp"
- #include "cxGroupBox.hpp"
- #include "cxLabel.hpp"
- #include "cxLookAndFeelPainters.hpp"
- #include "cxLookAndFeels.hpp"
- #include "cxMaskEdit.hpp"
- #include "cxPC.hpp"
- #include "cxPCdxBarPopupMenu.hpp"
- #include "cxSpinEdit.hpp"
- #include "cxSplitter.hpp"
- #include "cxTextEdit.hpp"
- #include "cxTimeEdit.hpp"
- #include "dxSkinBlack.hpp"
- #include "dxSkinBlue.hpp"
- #include "dxSkinsCore.hpp"
- #include "dxSkinscxPCPainter.hpp"
- #include "cxCheckBox.hpp"
- #include "cxClasses.hpp"
- #include "cxCustomData.hpp"
- #include "cxData.hpp"
- #include "cxDataStorage.hpp"
- #include "cxFilter.hpp"
- #include "cxGrid.hpp"
- #include "cxGridCustomTableView.hpp"
- #include "cxGridCustomView.hpp"
- #include "cxGridLevel.hpp"
- #include "cxGridTableView.hpp"
- #include "cxStyles.hpp"
- #include "dxSkinMcSkin.hpp"
- class TIHS0070M : public TForm
- {
- __published: // IDE-managed Components
- TTimer *TmrShow;
- TShape *ShpTitle;
- TcxButton *BtnClose;
- TLabel *LblCaption;
- TShape *ShpList;
- TEdit *EdFocus;
- TPanel *PnlBack;
- TPanel *PnlLeft;
- TcxSplitter *cxSplitter1;
- TcxGroupBox *cxGroupBox3;
- TcxGroupBox *cxGroupBox1;
- TcxPageControl *PgTab;
- TcxTabSheet *TsList01;
- TFRAMEItsCross *FRAMEItsCross1;
- TcxGroupBox *cxGroupBox4;
- TcxLabel *cxLabel5;
- TcxTextEdit *EdFilter;
- TcxButton *btnFilter;
- TcxButton *btnNoFilter;
- TPanel *PnlQry;
- TcxPageControl *PgQry;
- TcxTabSheet *TabTerm;
- TImage *ImgDesc01;
- TLabel *Label26;
- TLabel *Label1;
- TImage *ImgDesc03;
- TLabel *Label2;
- TImage *ImgDesc04;
- TcxButton *BtnSearch;
- TcxComboBox *CbStatType;
- TDateTimePicker *DtStTime;
- TDateTimePicker *DtEdTime;
- TcxLabel *cxLabel1;
- TDateTimePicker *DtEdDate;
- TDateTimePicker *DtStDate;
- TcxTabSheet *TabHour;
- TLabel *Label3;
- TImage *ImgDesc10;
- TImage *ImgDesc11;
- TLabel *Label6;
- TLabel *Label7;
- TImage *ImgDesc12;
- TLabel *Label5;
- TLabel *Label8;
- TLabel *Label9;
- TLabel *Label10;
- TcxComboBox *CbStatType1;
- TcxComboBox *CbStrTm1;
- TDateTimePicker *dtStrDate1;
- TDateTimePicker *dtEndDate1;
- TcxComboBox *CbEndTm1;
- TcxButton *BtnSearch1;
- TcxLabel *cxLabel2;
- TcxTabSheet *TabTime;
- TLabel *Label4;
- TImage *ImgDesc20;
- TLabel *Label11;
- TImage *ImgDesc21;
- TLabel *Label12;
- TImage *ImgDesc22;
- TLabel *Label13;
- TLabel *Label14;
- TcxComboBox *CbStatType2;
- TcxLabel *cxLabel3;
- TcxButton *BtnSearch2;
- TcxGrid *CxList;
- TcxGridTableView *TvList;
- TcxGridColumn *ColumnSel;
- TcxGridColumn *Column00;
- TcxGridColumn *Column01;
- TcxGridColumn *Column02;
- TcxGridColumn *Column03;
- TcxGridColumn *Column04;
- TcxGridColumn *Column05;
- TcxGridColumn *Column06;
- TcxGridLevel *GlList;
- TcxComboBox *CbStrTm2;
- TcxComboBox *CbEndTm2;
- 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 btnFilterClick(TObject *Sender);
- void __fastcall EdFilterKeyPress(TObject *Sender, wchar_t &Key);
- void __fastcall PgTabCanCloseEx(TObject *Sender, int ATabIndex, bool &ACanClose);
- void __fastcall PgQryPageChanging(TObject *Sender, TcxTabSheet *NewPage, bool &AllowChange);
- void __fastcall CbStatTypePropertiesChange(TObject *Sender);
- private: // User declarations
- void __fastcall CommClose();
- String FTitle;
- public:
- TList *m_pFormList;
- String FIdList;
- String FStTime, FEdTime;
- String FStTerm, FEdTerm;
- int FLinkLevel;
- int FStatType;
- public: // User declarations
- __fastcall TIHS0070M(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 TIHS0070M *IHS0070M;
- //---------------------------------------------------------------------------
- #endif
|