123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101 |
- //---------------------------------------------------------------------------
- #ifndef FrmCrsCamViewerFH
- #define FrmCrsCamViewerFH
- //---------------------------------------------------------------------------
- #include <Classes.hpp>
- #include <Controls.hpp>
- #include <StdCtrls.hpp>
- #include <Forms.hpp>
- #include <ExtCtrls.hpp>
- #include <Graphics.hpp>
- #include <Menus.hpp>
- #include <ImgList.hpp>
- #include <ComCtrls.hpp>
- #include <jpeg.hpp>
- #include <AppEvnts.hpp>
- //---------------------------------------------------------------------------
- #include <windows.h>
- #include <Menus.hpp>
- #include <ADODB.hpp>
- #include <DB.hpp>
- #include "AppGlobalF.h"
- #include "cxButtons.hpp"
- #include "cxContainer.hpp"
- #include "cxControls.hpp"
- #include "cxEdit.hpp"
- #include "cxGraphics.hpp"
- #include "cxLookAndFeelPainters.hpp"
- #include "cxLookAndFeels.hpp"
- #include "cxProgressBar.hpp"
- #include "dxSkinBlack.hpp"
- #include "dxSkinBlue.hpp"
- #include "dxSkinsCore.hpp"
- #include "dxSkinsForm.hpp"
- #include "cxLabel.hpp"
- #include "cxDropDownEdit.hpp"
- #include "cxMaskEdit.hpp"
- #include "cxTextEdit.hpp"
- #include "dxSkinMcSkin.hpp"
- //---------------------------------------------------------------------------
- //---------------------------------------------------------------------------
- class TFrmCrsCamViewer : public TForm//TdxCustomRibbonForm//TForm
- {
- __published: // IDE-managed Components
- TApplicationEvents *ApplicationEvents1;
- TEdit *EdFocus;
- TdxSkinController *dxSkinController1;
- TTimer *TmrShow;
- TPanel *PnlMenu;
- TPanel *PnlBack;
- TcxLabel *LblScreenList;
- TcxComboBox *CbScreenList;
- TcxButton *BtnMonitoringMngr;
- void __fastcall FormCreate(TObject *Sender);
- void __fastcall FormShow(TObject *Sender);
- void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
- void __fastcall ApplicationEvents1Minimize(TObject *Sender);
- void __fastcall ApplicationEvents1Restore(TObject *Sender);
- void __fastcall FormResize(TObject *Sender);
- void __fastcall BtnMonitoringMngrClick(TObject *Sender);
- void __fastcall TmrShowTimer(TObject *Sender);
- void __fastcall CbScreenListPropertiesChange(TObject *Sender);
- private: // User declarations
- public:
- void __fastcall SetColorScheme(String ASkinName);
- void __fastcall CreateMonitoringScreen();
- void __fastcall RecalFormSize();
- void __fastcall FillCameraList();
- void __fastcall CreateViewList();
- void __fastcall SaveViewList();
- bool IsLoading;
- bool IsFormResizing;
- int FOldWidth, FOldHeight;
- TcxTabSheet *FCurrPage;
- public: // User declarations
- __fastcall TFrmCrsCamViewer(TComponent* Owner);
- void __fastcall CommClose();
- void __fastcall FormInit();
- void __fastcall ResetScreenForm();
- void __fastcall WMEnterSizeMove(TMessage &Msg);
- void __fastcall WMExitSizeMove(TMessage &Msg);
- BEGIN_MESSAGE_MAP
- MESSAGE_HANDLER(WM_ENTERSIZEMOVE, TMessage, WMEnterSizeMove)
- MESSAGE_HANDLER(WM_EXITSIZEMOVE, TMessage, WMExitSizeMove)
- END_MESSAGE_MAP(TForm)
- };
- //---------------------------------------------------------------------------
- extern PACKAGE TFrmCrsCamViewer *FrmCrsCamViewer;
- //---------------------------------------------------------------------------
- #endif
|