From d184fb507b475e2ba29cbd91b7e615fa59a9b1f6 Mon Sep 17 00:00:00 2001 From: LAPTOP-T815PCOQ\25526 <mr.liuyang@126.com> Date: 星期四, 21 十一月 2024 10:18:26 +0800 Subject: [PATCH] 1.对系统运行日志管理类优化,比如获取单例模式的方式。unique_ptr必须通过析构函数结束 --- SourceCode/Bond/BondEq/View/SystemLogManagerDlg.h | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/SourceCode/Bond/BondEq/View/SystemLogManagerDlg.h b/SourceCode/Bond/BondEq/View/SystemLogManagerDlg.h index c7a0601..cf73a70 100644 --- a/SourceCode/Bond/BondEq/View/SystemLogManagerDlg.h +++ b/SourceCode/Bond/BondEq/View/SystemLogManagerDlg.h @@ -22,8 +22,15 @@ void InitSystemLogManager(); void FillSystemLogManager(); void UpdatePageInfo(); + void SetDefaultFont(); + void AdjustControls(int nWidth, int nHeight); + void AdjustControlFont(CWnd* pWnd, int nWidth, int nHeight); + void AdjustComboBoxStyle(CComboBox& comboBox); + void AdjustDateTimeCtrlStyle(CDateTimeCtrl& dateTimeCtrl); private: + int m_nInitialWidth; // 鍒濆瀹藉害 + int m_nInitialHeight; // 鍒濆楂樺害 int m_nCurrentPage; // 褰撳墠椤电爜 int m_nTotalPages; // 鎬婚〉鏁� @@ -42,7 +49,10 @@ DECLARE_MESSAGE_MAP() public: virtual BOOL OnInitDialog(); + afx_msg void OnSize(UINT nType, int cx, int cy); afx_msg void OnBnClickedButtonSearch(); afx_msg void OnBnClickedButtonPrevPage(); afx_msg void OnBnClickedButtonNextPage(); + afx_msg void OnSelchangeComboType(); + afx_msg void OnSelchangeComboUser(); }; -- Gitblit v1.9.3