From 4981115416e00a561570e9467a9eca123dee07f1 Mon Sep 17 00:00:00 2001
From: LAPTOP-SNT8I5JK\Boounion <Chenluhua@qq.com>
Date: 星期二, 07 一月 2025 11:33:04 +0800
Subject: [PATCH] 1.添加菜单;

---
 SourceCode/Bond/BoounionPLC/BoounionPLCDlg.h |   25 ++++++++++++++++++++++++-
 1 files changed, 24 insertions(+), 1 deletions(-)

diff --git a/SourceCode/Bond/BoounionPLC/BoounionPLCDlg.h b/SourceCode/Bond/BoounionPLC/BoounionPLCDlg.h
index 76cf545..9a6da53 100644
--- a/SourceCode/Bond/BoounionPLC/BoounionPLCDlg.h
+++ b/SourceCode/Bond/BoounionPLC/BoounionPLCDlg.h
@@ -3,7 +3,8 @@
 //
 
 #pragma once
-
+#include "TopToolbar.h"
+#include "PagePlcList.h"
 
 // CBoounionPLCDlg 对话框
 class CBoounionPLCDlg : public CDialogEx
@@ -11,6 +12,18 @@
 // 构造
 public:
 	CBoounionPLCDlg(CWnd* pParent = NULL);	// 标准构造函数
+
+private:
+	void Resize();
+
+
+private:
+	COLORREF m_crBkgnd;
+	HBRUSH m_hbrBkgnd;
+	IObserver* m_pObserver;
+	CTopToolbar* m_pTopToolbar;
+	CPagePlcList* m_pPagePlcList;
+
 
 // 对话框数据
 #ifdef AFX_DESIGN_TIME
@@ -31,4 +44,14 @@
 	afx_msg void OnPaint();
 	afx_msg HCURSOR OnQueryDragIcon();
 	DECLARE_MESSAGE_MAP()
+public:
+	afx_msg void OnDestroy();
+	afx_msg void OnSize(UINT nType, int cx, int cy);
+	afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
+	afx_msg void OnInitMenuPopup(CMenu* pPopupMenu, UINT nIndex, BOOL bSysMenu);
+	afx_msg void OnMenuFileSettings();
+	afx_msg void OnUpdateMenuFileSettings(CCmdUI* pCmdUI);
+	afx_msg void OnMenuFileExit();
+	afx_msg void OnUpdateMenuFileExit(CCmdUI* pCmdUI);
+	afx_msg void OnMenuHelpAbout();
 };

--
Gitblit v1.9.3