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/SystemLogManagerDlg.h | 16 +++-------------
1 files changed, 3 insertions(+), 13 deletions(-)
diff --git a/SourceCode/Bond/BondEq/View/SystemLogManagerDlg.h b/SourceCode/Bond/BondEq/View/SystemLogManagerDlg.h
index cf73a70..e5d1396 100644
--- a/SourceCode/Bond/BondEq/View/SystemLogManagerDlg.h
+++ b/SourceCode/Bond/BondEq/View/SystemLogManagerDlg.h
@@ -1,11 +1,11 @@
锘�#pragma once
#include "afxdialogex.h"
#include "GridCtrl.h"
-
+#include "CBaseDlg.h"
// CSystemLogManagerDlg 瀵硅瘽妗�
-class CSystemLogManagerDlg : public CDialogEx
+class CSystemLogManagerDlg : public CBaseDlg
{
DECLARE_DYNAMIC(CSystemLogManagerDlg)
@@ -22,15 +22,8 @@
void InitSystemLogManager();
void FillSystemLogManager();
void UpdatePageInfo();
- void SetDefaultFont();
- void AdjustControls(int nWidth, int nHeight);
- void AdjustControlFont(CWnd* pWnd, int nWidth, int nHeight);
- void AdjustComboBoxStyle(CComboBox& comboBox);
- void AdjustDateTimeCtrlStyle(CDateTimeCtrl& dateTimeCtrl);
private:
- int m_nInitialWidth; // 鍒濆瀹藉害
- int m_nInitialHeight; // 鍒濆楂樺害
int m_nCurrentPage; // 褰撳墠椤电爜
int m_nTotalPages; // 鎬婚〉鏁�
@@ -45,14 +38,11 @@
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 鏀寔
-
- DECLARE_MESSAGE_MAP()
-public:
virtual BOOL OnInitDialog();
- afx_msg void OnSize(UINT nType, int cx, int cy);
afx_msg void OnBnClickedButtonSearch();
afx_msg void OnBnClickedButtonPrevPage();
afx_msg void OnBnClickedButtonNextPage();
afx_msg void OnSelchangeComboType();
afx_msg void OnSelchangeComboUser();
+ DECLARE_MESSAGE_MAP()
};
--
Gitblit v1.9.3