www.pudn.com > lesson6.rar > TEAPOT2.cpp
// TEAPOT2.cpp : implementation file
//
#include "stdafx.h"
#include "lesson1.h"
#include "TEAPOT2.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// TEAPOT2 dialog
TEAPOT2::TEAPOT2(CWnd* pParent /*=NULL*/)
: CDialog(TEAPOT2::IDD, pParent)
{
//{{AFX_DATA_INIT(TEAPOT2)
m_Teasize = 0.0f;
//}}AFX_DATA_INIT
}
void TEAPOT2::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(TEAPOT2)
DDX_Text(pDX, IDC_EDIT1, m_Teasize);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(TEAPOT2, CDialog)
//{{AFX_MSG_MAP(TEAPOT2)
// NOTE: the ClassWizard will add message map macros here
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// TEAPOT2 message handlers