提交 | 用户 | age
|
418cb3
|
1 |
// CMTerm1CommTestView.cpp: 实现文件
|
Q |
2 |
//
|
|
3 |
|
|
4 |
#include "pch.h"
|
|
5 |
#include "framework.h"
|
|
6 |
#include "MTerm1.h"
|
|
7 |
#include "MTerm1Doc.h"
|
|
8 |
|
|
9 |
#include "MTerm1CommTestView.h"
|
|
10 |
|
|
11 |
|
|
12 |
// CMTerm1CommTestView 对话框
|
|
13 |
|
|
14 |
IMPLEMENT_DYNAMIC(CMTerm1CommTestView, CFormView)
|
|
15 |
|
|
16 |
CMTerm1CommTestView::CMTerm1CommTestView()
|
|
17 |
: CFormView(IDD_MTerm1CommTestView)
|
|
18 |
{
|
|
19 |
|
|
20 |
}
|
|
21 |
|
|
22 |
CMTerm1CommTestView::~CMTerm1CommTestView()
|
|
23 |
{
|
|
24 |
}
|
|
25 |
|
|
26 |
void CMTerm1CommTestView::DoDataExchange(CDataExchange* pDX)
|
|
27 |
{
|
|
28 |
CFormView::DoDataExchange(pDX);
|
|
29 |
}
|
|
30 |
|
|
31 |
|
|
32 |
BEGIN_MESSAGE_MAP(CMTerm1CommTestView, CFormView)
|
|
33 |
END_MESSAGE_MAP()
|
|
34 |
|
|
35 |
// CMTerm1TestView 诊断
|
|
36 |
|
|
37 |
#ifdef _DEBUG
|
|
38 |
void CMTerm1CommTestView::AssertValid() const
|
|
39 |
{
|
|
40 |
CFormView::AssertValid();
|
|
41 |
}
|
|
42 |
|
|
43 |
#ifndef _WIN32_WCE
|
|
44 |
void CMTerm1CommTestView::Dump(CDumpContext& dc) const
|
|
45 |
{
|
|
46 |
CFormView::Dump(dc);
|
|
47 |
}
|
|
48 |
#endif
|
|
49 |
CMTerm1Doc* CMTerm1CommTestView::GetDocument() const // 非调试版本是内联的
|
|
50 |
{
|
|
51 |
ASSERT(m_pDocument->IsKindOf(RUNTIME_CLASS(CMTerm1Doc)));
|
|
52 |
return (CMTerm1Doc*)m_pDocument;
|
|
53 |
}
|
|
54 |
#endif //_DEBUG
|
|
55 |
|
|
56 |
|
|
57 |
// CMTerm1CommTestView 消息处理程序
|