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