| | |
| | | #pragma once |
| | | #include "TopToolbar.h" |
| | | #include "PagePlcList.h" |
| | | #include "CMainContainer.h" |
| | | #include "CBaseView.h" |
| | | |
| | | |
| | | // CBoounionPLCDlg 对话框 |
| | | class CBoounionPLCDlg : public CDialogEx |
| | |
| | | CBoounionPLCDlg(CWnd* pParent = NULL); // 标准构造函数 |
| | | |
| | | private: |
| | | void InitRxWindows(); |
| | | void Resize(); |
| | | |
| | | CBaseView* CreatePlcView(CPLC* pPlc); |
| | | void CloseView(CBaseView* pView); |
| | | |
| | | private: |
| | | COLORREF m_crBkgnd; |
| | |
| | | IObserver* m_pObserver; |
| | | CTopToolbar* m_pTopToolbar; |
| | | CPagePlcList* m_pPagePlcList; |
| | | CMainContainer* m_pMainContainer; |
| | | CBaseView* m_pActiveView; |
| | | |
| | | |
| | | // 对话框数据 |
| | |
| | | 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); |
| | | }; |