LAPTOP-SNT8I5JK\Boounion
2025-01-08 c2d22fc8efd988294ff4a34fd3e31a9743803964
SourceCode/Bond/BoounionPLC/BoounionPLCDlg.h
@@ -5,6 +5,9 @@
#pragma once
#include "TopToolbar.h"
#include "PagePlcList.h"
#include "CMainContainer.h"
#include "CBaseView.h"
// CBoounionPLCDlg 对话框
class CBoounionPLCDlg : public CDialogEx
@@ -14,8 +17,10 @@
   CBoounionPLCDlg(CWnd* pParent = NULL);   // 标准构造函数
private:
   void InitRxWindows();
   void Resize();
   CBaseView* CreatePlcView(CPLC* pPlc);
   void CloseView(CBaseView* pView);
private:
   COLORREF m_crBkgnd;
@@ -23,6 +28,8 @@
   IObserver* m_pObserver;
   CTopToolbar* m_pTopToolbar;
   CPagePlcList* m_pPagePlcList;
   CMainContainer* m_pMainContainer;
   CBaseView* m_pActiveView;
// 对话框数据
@@ -55,4 +62,7 @@
   afx_msg void OnUpdateMenuFileExit(CCmdUI* pCmdUI);
   afx_msg void OnMenuHelpAbout();
   afx_msg LRESULT OnToolbarBtnClicked(WPARAM wParam, LPARAM lParam);
   LRESULT OnViewActive(WPARAM wParam, LPARAM lParam);
   LRESULT OnViewBtnClicked(WPARAM wParam, LPARAM lParam);
   LRESULT OnViewBtnMenuItem(WPARAM wParam, LPARAM lParam);
};