From 16b9bfc152d83d615aeaad8646b5fcc7cbccfdd4 Mon Sep 17 00:00:00 2001
From: LAPTOP-T815PCOQ\25526 <mr.liuyang@126.com>
Date: 星期二, 19 十一月 2024 13:37:59 +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