FrmCrsCamViewerF.h 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. //---------------------------------------------------------------------------
  2. #ifndef FrmCrsCamViewerFH
  3. #define FrmCrsCamViewerFH
  4. //---------------------------------------------------------------------------
  5. #include <Classes.hpp>
  6. #include <Controls.hpp>
  7. #include <StdCtrls.hpp>
  8. #include <Forms.hpp>
  9. #include <ExtCtrls.hpp>
  10. #include <Graphics.hpp>
  11. #include <Menus.hpp>
  12. #include <ImgList.hpp>
  13. #include <ComCtrls.hpp>
  14. #include <jpeg.hpp>
  15. #include <AppEvnts.hpp>
  16. //---------------------------------------------------------------------------
  17. #include <windows.h>
  18. #include <Menus.hpp>
  19. #include <ADODB.hpp>
  20. #include <DB.hpp>
  21. #include "AppGlobalF.h"
  22. #include "cxButtons.hpp"
  23. #include "cxContainer.hpp"
  24. #include "cxControls.hpp"
  25. #include "cxEdit.hpp"
  26. #include "cxGraphics.hpp"
  27. #include "cxLookAndFeelPainters.hpp"
  28. #include "cxLookAndFeels.hpp"
  29. #include "cxProgressBar.hpp"
  30. #include "dxSkinBlack.hpp"
  31. #include "dxSkinBlue.hpp"
  32. #include "dxSkinsCore.hpp"
  33. #include "dxSkinsForm.hpp"
  34. #include "cxLabel.hpp"
  35. #include "cxDropDownEdit.hpp"
  36. #include "cxMaskEdit.hpp"
  37. #include "cxTextEdit.hpp"
  38. #include "dxSkinMcSkin.hpp"
  39. //---------------------------------------------------------------------------
  40. //---------------------------------------------------------------------------
  41. class TFrmCrsCamViewer : public TForm//TdxCustomRibbonForm//TForm
  42. {
  43. __published: // IDE-managed Components
  44. TApplicationEvents *ApplicationEvents1;
  45. TEdit *EdFocus;
  46. TdxSkinController *dxSkinController1;
  47. TTimer *TmrShow;
  48. TPanel *PnlMenu;
  49. TPanel *PnlBack;
  50. TcxLabel *LblScreenList;
  51. TcxComboBox *CbScreenList;
  52. TcxButton *BtnMonitoringMngr;
  53. void __fastcall FormCreate(TObject *Sender);
  54. void __fastcall FormShow(TObject *Sender);
  55. void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
  56. void __fastcall ApplicationEvents1Minimize(TObject *Sender);
  57. void __fastcall ApplicationEvents1Restore(TObject *Sender);
  58. void __fastcall BtnMonitoringMngrClick(TObject *Sender);
  59. void __fastcall TmrShowTimer(TObject *Sender);
  60. void __fastcall CbScreenListPropertiesChange(TObject *Sender);
  61. private: // User declarations
  62. public:
  63. void __fastcall SetColorScheme(String ASkinName);
  64. void __fastcall CreateMonitoringScreen();
  65. void __fastcall FillCameraList();
  66. void __fastcall CreateViewList();
  67. void __fastcall SaveViewList();
  68. bool IsLoading;
  69. bool IsFormResizing;
  70. int FOldWidth, FOldHeight;
  71. TcxTabSheet *FCurrPage;
  72. public: // User declarations
  73. __fastcall TFrmCrsCamViewer(TComponent* Owner);
  74. void __fastcall CommClose();
  75. void __fastcall FormInit();
  76. void __fastcall ResetScreenForm();
  77. };
  78. //---------------------------------------------------------------------------
  79. extern PACKAGE TFrmCrsCamViewer *FrmCrsCamViewer;
  80. //---------------------------------------------------------------------------
  81. #endif