From 29ae330b546e455a23e486882d783015a964fc8c Mon Sep 17 00:00:00 2001 From: LAPTOP-T815PCOQ\25526 <mr.liuyang@126.com> Date: 星期一, 18 十一月 2024 14:32:39 +0800 Subject: [PATCH] 1. 用户管理界面数据绑定到数据库中 --- SourceCode/Bond/BondEq/UserManagerDlg.h | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/SourceCode/Bond/BondEq/UserManagerDlg.h b/SourceCode/Bond/BondEq/UserManagerDlg.h index d74ed57..34fad57 100644 --- a/SourceCode/Bond/BondEq/UserManagerDlg.h +++ b/SourceCode/Bond/BondEq/UserManagerDlg.h @@ -20,6 +20,9 @@ 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); @@ -37,4 +40,8 @@ public: virtual BOOL OnInitDialog(); afx_msg void OnSize(UINT nType, int cx, int cy); + afx_msg void OnBnClickedButtonAdd(); + afx_msg void OnBnClickedButtonInsert(); + afx_msg void OnBnClickedButtonDel(); + afx_msg void OnBnClickedOk(); }; -- Gitblit v1.9.3