From 8dbd14952aa622587a92866dc01943869ea4f9dc Mon Sep 17 00:00:00 2001
From: LAPTOP-T815PCOQ\25526 <mr.liuyang@126.com>
Date: 星期三, 20 十一月 2024 11:28:02 +0800
Subject: [PATCH] 1. 添加系统运行记录表 2. 完善用户管理的部分细节

---
 SourceCode/Bond/BondEq/UserManagerDlg.h |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/SourceCode/Bond/BondEq/UserManagerDlg.h b/SourceCode/Bond/BondEq/UserManagerDlg.h
index d74ed57..3f0ac6a 100644
--- a/SourceCode/Bond/BondEq/UserManagerDlg.h
+++ b/SourceCode/Bond/BondEq/UserManagerDlg.h
@@ -20,12 +20,16 @@
 private:
 	void InitUserManager();
 	void FillUserManager();
+	void AddRow(CGridCtrl* pGridCtrl);
+	void DeleteSelectedRow(CGridCtrl* pGridCtrl);
+	bool IsUsernameDuplicate(const CString& username);
 	void AdjustControls(int nWidth, int nHeight);
 	void AdjustControlFont(CWnd* pWnd, int nWidth, int nHeight);
 
 private:
 	int m_nInitialWidth;
 	int m_nInitialHeight;
+	std::map<CString, CString> m_mapRoleDescriptions;
 
 private:
 	CGridCtrl m_gridUserManager;
@@ -37,4 +41,9 @@
 public:
 	virtual BOOL OnInitDialog();
 	afx_msg void OnSize(UINT nType, int cx, int cy);
+	afx_msg void OnGridComboSelChange(NMHDR* pNMHDR, LRESULT* pResult);
+	afx_msg void OnBnClickedButtonAdd();
+	afx_msg void OnBnClickedButtonInsert();
+	afx_msg void OnBnClickedButtonDel();
+	afx_msg void OnBnClickedOk();
 };

--
Gitblit v1.9.3