LAPTOP-T815PCOQ\25526
2024-11-28 fc8a07f476648f82abf9934483b04cfee0161e4e
SourceCode/Bond/BondEq/View/SystemLogManagerDlg.h
@@ -2,7 +2,6 @@
#include "afxdialogex.h"
#include "GridCtrl.h"
// CSystemLogManagerDlg 对话框
class CSystemLogManagerDlg : public CDialogEx
@@ -21,11 +20,21 @@
private:
   void InitSystemLogManager();
   void FillSystemLogManager();
   CFont* GetOrCreateFont(int nFontSize);
   void UpdatePageInfo();
   void SetDefaultFont();
   void AdjustControls(float dScaleX, float dScaleY);
   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;     // 总页数
   std::map<int, CRect> m_mapCtrlLayouts;   // 存储控件的初始布局信息
   std::map<int, CFont*> m_mapFonts;      // 管理字体的容器,键为字体大小
private:
   CComboBox m_comboType;
@@ -42,7 +51,11 @@
   DECLARE_MESSAGE_MAP()
public:
   virtual BOOL OnInitDialog();
   afx_msg void OnSize(UINT nType, int cx, int cy);
   afx_msg void OnGetMinMaxInfo(MINMAXINFO* lpMMI);
   afx_msg void OnBnClickedButtonSearch();
   afx_msg void OnBnClickedButtonPrevPage();
   afx_msg void OnBnClickedButtonNextPage();
   afx_msg void OnSelchangeComboType();
   afx_msg void OnSelchangeComboUser();
};