From 829fe6c6bc33d53fda9c31fd45a37e1df87befff Mon Sep 17 00:00:00 2001
From: mrDarker <mr.darker@163.com>
Date: 星期五, 30 一月 2026 11:16:24 +0800
Subject: [PATCH] Merge branch 'clh' into liuyang
---
SourceCode/Bond/Servo/CUserXLogDlg.h | 42 ++++++++++++++++++++++++++++++++++++++++++
1 files changed, 42 insertions(+), 0 deletions(-)
diff --git a/SourceCode/Bond/Servo/CUserXLogDlg.h b/SourceCode/Bond/Servo/CUserXLogDlg.h
new file mode 100644
index 0000000..e28a810
--- /dev/null
+++ b/SourceCode/Bond/Servo/CUserXLogDlg.h
@@ -0,0 +1,42 @@
+锘�#pragma once
+
+#include <vector>
+#include <string>
+
+class CUserXLogDlg : public CDialogEx
+{
+ DECLARE_DYNAMIC(CUserXLogDlg)
+
+public:
+ CUserXLogDlg(CWnd* pParent = nullptr);
+ virtual ~CUserXLogDlg();
+
+#ifdef AFX_DESIGN_TIME
+ enum { IDD = IDD_DIALOG_USERX_LOG };
+#endif
+
+protected:
+ virtual void DoDataExchange(CDataExchange* pDX);
+
+ DECLARE_MESSAGE_MAP()
+public:
+ virtual BOOL OnInitDialog();
+ afx_msg void OnSize(UINT nType, int cx, int cy);
+ afx_msg void OnDestroy();
+
+private:
+ struct LogItem
+ {
+ CString time;
+ CString user;
+ CString action;
+ CString detail;
+ };
+
+ CListCtrl m_listLogs;
+ std::vector<LogItem> m_logs;
+
+ void InitListCtrl();
+ void RefreshLogs();
+ void AdjustLayout();
+};
--
Gitblit v1.9.3