forked from ranjiewwen/DIPDemo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDlgProjRestore.cpp
73 lines (63 loc) · 1.73 KB
/
DlgProjRestore.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
// DlgProjRestore.cpp : implementation file
//
#include "stdafx.h"
#include "DIPDemo.h"
#include "DlgProjRestore.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CDlgProjRestore dialog
CDlgProjRestore::CDlgProjRestore(CWnd* pParent /*=NULL*/)
: CDialog(CDlgProjRestore::IDD, pParent)
{
//{{AFX_DATA_INIT(CDlgProjRestore)
m_xPt1 = 0;
m_xPt2 = 0;
m_xPt3 = 0;
m_xPt4 = 0;
m_xBPt1 = 0;
m_xBPt2 = 0;
m_xBPt3 = 0;
m_xBPt4 = 0;
m_yBPt1 = 0;
m_yBPt2 = 0;
m_yBPt3 = 0;
m_yBPt4 = 0;
m_yPt1 = 0;
m_yPt2 = 0;
m_yPt3 = 0;
m_yPt4 = 0;
//}}AFX_DATA_INIT
}
void CDlgProjRestore::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CDlgProjRestore)
DDX_Text(pDX, IDC_EDIT_XPT1, m_xPt1);
DDX_Text(pDX, IDC_EDIT_XPT2, m_xPt2);
DDX_Text(pDX, IDC_EDIT_XPT3, m_xPt3);
DDX_Text(pDX, IDC_EDIT_XPT4, m_xPt4);
DDX_Text(pDX, IDC_EDIT_XBPT1, m_xBPt1);
DDX_Text(pDX, IDC_EDIT_XBPT2, m_xBPt2);
DDX_Text(pDX, IDC_EDIT_XBPT3, m_xBPt3);
DDX_Text(pDX, IDC_EDIT_XBPT4, m_xBPt4);
DDX_Text(pDX, IDC_EDIT_YBPT1, m_yBPt1);
DDX_Text(pDX, IDC_EDIT_YBPT2, m_yBPt2);
DDX_Text(pDX, IDC_EDIT_YBPT3, m_yBPt3);
DDX_Text(pDX, IDC_EDIT_YBPT4, m_yBPt4);
DDX_Text(pDX, IDC_EDIT_YPT1, m_yPt1);
DDX_Text(pDX, IDC_EDIT_YPT2, m_yPt2);
DDX_Text(pDX, IDC_EDIT_YPT3, m_yPt3);
DDX_Text(pDX, IDC_EDIT_YPT4, m_yPt4);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CDlgProjRestore, CDialog)
//{{AFX_MSG_MAP(CDlgProjRestore)
// NOTE: the ClassWizard will add message map macros here
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CDlgProjRestore message handlers