#pragma once #include "CBaseView.h" // CRemoteEqUnitView 对话框 class CRemoteEqUnitView : public CBaseView { DECLARE_DYNAMIC(CRemoteEqUnitView) public: CRemoteEqUnitView(CWnd* pParent = nullptr); // 标准构造函数 virtual ~CRemoteEqUnitView(); private: COLORREF m_crBkgnd; HBRUSH m_hbrBkgnd; IObserver* m_pObserver; // 对话框数据 #ifdef AFX_DESIGN_TIME enum { IDD = IDD_COMPONENT_REMOTE_EQ_UNIT }; #endif protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持 DECLARE_MESSAGE_MAP() public: afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); afx_msg void OnDestroy(); };