From 07b2cefe6e0dfe8bc530aab3b58d4159502ceba8 Mon Sep 17 00:00:00 2001
From: LAPTOP-T815PCOQ\25526 <mr.liuyang@126.com>
Date: 星期四, 21 十一月 2024 11:34:54 +0800
Subject: [PATCH] 1. 解决控件字体修改以后出现锯齿
---
SourceCode/Bond/BondEq/View/LoginDlg.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/SourceCode/Bond/BondEq/View/LoginDlg.cpp b/SourceCode/Bond/BondEq/View/LoginDlg.cpp
index 6fc4d3b..b78c28d 100644
--- a/SourceCode/Bond/BondEq/View/LoginDlg.cpp
+++ b/SourceCode/Bond/BondEq/View/LoginDlg.cpp
@@ -5,7 +5,6 @@
#include "BondEq.h"
#include "afxdialogex.h"
#include "LoginDlg.h"
-#include "UserManager.h"
#include "ChangePasswordDlg.h"
@@ -98,18 +97,19 @@
#endif
UserManager& userManager = UserManager::getInstance();
+ SystemLogManager& logManager = SystemLogManager::getInstance();
if (!userManager.login(strUsername, strPassword, (m_checkRememberPassword.GetCheck() == BST_CHECKED))) {
AfxMessageBox(_T("鐧诲綍澶辫触銆�"));
return;
}
EndDialog(IDOK);
+ logManager.log(SystemLogManager::LogType::Info, _T("鐧诲綍鎴愬姛..."));
}
void CLoginDlg::OnBnClickedChangePassword()
{
CChangePasswordDlg changePasswordDlg;
- changePasswordDlg.DoModal();
if (changePasswordDlg.DoModal() == IDOK) {
m_editPassword.SetWindowText("");
}
--
Gitblit v1.9.3