#pragma once // CMTerm1CtrlView 窗体视图 class CMTerm1CtrlView : public CFormView { DECLARE_DYNCREATE(CMTerm1CtrlView) protected: CMTerm1CtrlView(); // 动态创建所使用的受保护的构造函数 virtual ~CMTerm1CtrlView(); public: // CMTerm1Doc* GetDocument() const; CMFCStatusBar * m_pStatusBar; #ifdef AFX_DESIGN_TIME enum { IDD = IDD_MTerm1CtrlView }; #endif #ifdef _DEBUG virtual void AssertValid() const; #ifndef _WIN32_WCE virtual void Dump(CDumpContext& dc) const; #endif #endif protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持 DECLARE_MESSAGE_MAP() public: virtual void OnInitialUpdate(); afx_msg void OnBnClickedButtonLoad(); afx_msg void OnBnClickedButtonSave(); afx_msg void OnBnClickedButtonConvert(); afx_msg void OnBnClickedButtonTrnsTotxt(); afx_msg void OnBnClickedButtonTrnsPrg(); virtual void OnUpdate(CView* /*pSender*/, LPARAM /*lHint*/, CObject* /*pHint*/); afx_msg void OnBnClickedButton4(); afx_msg void OnSize(UINT nType, int cx, int cy); };