From a549ad408c941bfebd863c8537bc30520659c293 Mon Sep 17 00:00:00 2001
From: LAPTOP-T815PCOQ\25526 <mr.liuyang@126.com>
Date: 星期二, 24 十二月 2024 17:47:41 +0800
Subject: [PATCH] 1.添加主页面 2.修复配方列表切换配方出现标签闪烁问题(主题颜色是白色,标签控件不是,所以刷新的时候先刷新成主题颜色)
---
SourceCode/Bond/BondEq/View/RecipeListDlg.cpp | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/SourceCode/Bond/BondEq/View/RecipeListDlg.cpp b/SourceCode/Bond/BondEq/View/RecipeListDlg.cpp
index 9546dca..942dc0b 100644
--- a/SourceCode/Bond/BondEq/View/RecipeListDlg.cpp
+++ b/SourceCode/Bond/BondEq/View/RecipeListDlg.cpp
@@ -426,6 +426,7 @@
CString strSelectedRecipe = m_grid.GetItemText(nSelect, 1);
if (RecipeManager::getInstance().loadRecipe(std::string(CT2A(strSelectedRecipe)))) {
m_staticCurrRecipe->SetWindowText(strSelectedRecipe);
+ m_staticCurrRecipe->SetBkColor(RGB(0, 110, 110));
}
else {
AfxMessageBox(_T("鍔犺浇閰嶆柟澶辫触锛�"));
--
Gitblit v1.9.3