From 552b0d6e5d9f02c5f50e7407f0b274f4b926a043 Mon Sep 17 00:00:00 2001
From: LAPTOP-SNT8I5JK\Boounion <Chenluhua@qq.com>
Date: 星期四, 12 六月 2025 09:53:57 +0800
Subject: [PATCH] Merge branch 'clh'

---
 SourceCode/Bond/Servo/ChangePasswordDlg.h |   37 +++++++++++++++++++++++++++++++++++++
 1 files changed, 37 insertions(+), 0 deletions(-)

diff --git a/SourceCode/Bond/Servo/ChangePasswordDlg.h b/SourceCode/Bond/Servo/ChangePasswordDlg.h
new file mode 100644
index 0000000..3f6e0b8
--- /dev/null
+++ b/SourceCode/Bond/Servo/ChangePasswordDlg.h
@@ -0,0 +1,37 @@
+锘�#pragma once
+#include "afxdialogex.h"
+#include <string>
+
+class UserManager;
+
+// CChangePasswordDlg 瀵硅瘽妗�
+
+class CChangePasswordDlg : public CDialogEx
+{
+	DECLARE_DYNAMIC(CChangePasswordDlg)
+
+public:
+	CChangePasswordDlg(CWnd* pParent = nullptr);   // 鏍囧噯鏋勯�犲嚱鏁�
+	virtual ~CChangePasswordDlg();
+
+private:
+	bool changeUserPassword(UserManager& userManager, const std::string& username, const std::string& newPassword);
+
+// 瀵硅瘽妗嗘暟鎹�
+#ifdef AFX_DESIGN_TIME
+	enum { IDD = IDD_DIALOG_CHANGE_PASSWORD };
+#endif
+
+protected:
+	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV 鏀寔
+	virtual BOOL OnInitDialog();
+	afx_msg void OnBnClickedOk();
+	afx_msg void OnBnClickedCancel();
+	DECLARE_MESSAGE_MAP()
+
+private:
+	CEdit m_editUsername;              // 鐢ㄦ埛鍚嶈緭鍏ユ
+	CEdit m_editCurrentPassword;       // 褰撳墠瀵嗙爜杈撳叆妗�
+	CEdit m_editNewPassword;           // 鏂板瘑鐮佽緭鍏ユ
+	CEdit m_editConfirmPassword;       // 纭鏂板瘑鐮佽緭鍏ユ
+};

--
Gitblit v1.9.3