#pragma once
|
#include "CBaseView.h"
|
#include "CRemoteEqUnitView.h"
|
|
|
// CComponentData1Dlg 对话框
|
|
class CRemoteEqView : public CBaseView
|
{
|
DECLARE_DYNAMIC(CRemoteEqView)
|
|
public:
|
CRemoteEqView(CWnd* pParent = nullptr); // 标准构造函数
|
virtual ~CRemoteEqView();
|
|
|
private:
|
void InitRxWindows();
|
void LoadData();
|
void Resize();
|
void AddUnitTabs(CTabCtrl& tabCtrl, const char** names);
|
|
private:
|
COLORREF m_crBkgnd;
|
HBRUSH m_hbrBkgnd;
|
IObserver* m_pObserver;
|
std::vector<CRemoteEqUnitView*> m_tabViews;
|
|
|
// 对话框数据
|
#ifdef AFX_DESIGN_TIME
|
enum { IDD = IDD_COMPONENT_DATA1 };
|
#endif
|
|
protected:
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
|
|
DECLARE_MESSAGE_MAP()
|
public:
|
virtual BOOL OnInitDialog();
|
afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
|
afx_msg void OnDestroy();
|
afx_msg void OnSize(UINT nType, int cx, int cy);
|
afx_msg void OnTimer(UINT_PTR nIDEvent);
|
afx_msg void OnSelchangeUnitTab(NMHDR* pNMHDR, LRESULT* pResult);
|
};
|