// MTerm2TestView.cpp: 实现文件 // #include "pch.h" #include "framework.h" #include "MTerm2.h" #include "MTerm2Doc.h" #include "MTerm2TestView.h" // CMTerm2TestView IMPLEMENT_DYNCREATE(CMTerm2TestView, CFormView) CMTerm2TestView::CMTerm2TestView() : CFormView(IDD_MTerm2TestView) { } CMTerm2TestView::~CMTerm2TestView() { } void CMTerm2TestView::DoDataExchange(CDataExchange* pDX) { CFormView::DoDataExchange(pDX); } BEGIN_MESSAGE_MAP(CMTerm2TestView, CFormView) END_MESSAGE_MAP() // CMTerm2TestView 诊断 #ifdef _DEBUG void CMTerm2TestView::AssertValid() const { CFormView::AssertValid(); } #ifndef _WIN32_WCE void CMTerm2TestView::Dump(CDumpContext& dc) const { CFormView::Dump(dc); } #endif CMTerm2Doc* CMTerm2TestView::GetDocument() const // 非调试版本是内联的 { ASSERT(m_pDocument->IsKindOf(RUNTIME_CLASS(CMTerm2Doc))); return (CMTerm2Doc*)m_pDocument; } #endif //_DEBUG // CMTerm2TestView 消息处理程序