| | |
| | | #pragma once |
| | | #include "afxdialogex.h" |
| | | #include "IOManager.h" |
| | | #include "BLLabel.h" |
| | | |
| | | |
| | | // CIOMonitoringDlg 对话框 |
| | |
| | | |
| | | void UpdatePageInfo(); // 更新分页信息 |
| | | void CreateDynamicControls(); // 动态创建控件 |
| | | void CreateStaticControl(int x, int y, int width, int height, const CString& text, bool hasBorder = false, bool alignLeft = false); // 创建静态控件 |
| | | void CreateStaticControl(int x, int y, int width, int height, const CString& text, bool hasBorder = false, TextAlign alignment = AlignLeft); // 创建静态控件 |
| | | void DisplayCurrentPage(); // 显示当前页数据 |
| | | void ClearDynamicControls(); // 清除动态创建的控件 |
| | | |
| | |
| | | |
| | | private: |
| | | CStatic m_staticPageNum; |
| | | std::vector<CStatic*> m_staticControls; // 动态创建的静态控件 |
| | | std::vector<CBLLabel*> m_staticControls; // 动态创建的静态控件 |
| | | |
| | | protected: |
| | | virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持 |