Dialog1.cpp
上传用户:hnhlzg
上传日期:2013-10-19
资源大小:289k
文件大小:1k
- // Dialog1.cpp : implementation file
- //
- #include "stdafx.h"
- #include "DSplit.h"
- #include "Dialog1.h"
- #ifdef _DEBUG
- #define new DEBUG_NEW
- #undef THIS_FILE
- static char THIS_FILE[] = __FILE__;
- #endif
- /////////////////////////////////////////////////////////////////////////////
- // CDialog1 dialog
- CDialog1::CDialog1(CWnd* pParent /*=NULL*/)
- : CDialog(CDialog1::IDD, pParent)
- {
- //{{AFX_DATA_INIT(CDialog1)
- m_x = 100;
- m_y = 100;
- m_n = 5;
- //}}AFX_DATA_INIT
- }
- void CDialog1::DoDataExchange(CDataExchange* pDX)
- {
- CDialog::DoDataExchange(pDX);
- //{{AFX_DATA_MAP(CDialog1)
- DDX_Text(pDX, IDC_EDIT1, m_x);
- DDX_Text(pDX, IDC_EDIT2, m_y);
- DDX_Text(pDX, IDC_EDIT3, m_n);
- //}}AFX_DATA_MAP
- }
- BEGIN_MESSAGE_MAP(CDialog1, CDialog)
- //{{AFX_MSG_MAP(CDialog1)
- //}}AFX_MSG_MAP
- END_MESSAGE_MAP()
- /////////////////////////////////////////////////////////////////////////////
- // CDialog1 message handlers
- void CDialog1::OnCancel()
- {
- // TODO: Add extra cleanup here
-
- CDialog::OnCancel();
- }