www.pudn.com > TabControl.rar > Result.cpp, change:2009-06-05,size:596b


// Result.cpp : 实现文件 
// 
 
#include "stdafx.h" 
#include "TabControl.h" 
#include "Result.h" 
 
 
// CResult 对话框 
 
IMPLEMENT_DYNAMIC(CResult, CDialog) 
 
CResult::CResult(CWnd* pParent /*=NULL*/) 
	: CDialog(CResult::IDD, pParent) 
{ 
    this->m_nResult=0; 
} 
 
CResult::~CResult() 
{ 
} 
 
void CResult::DoDataExchange(CDataExchange* pDX) 
{ 
	CDialog::DoDataExchange(pDX); 
	DDX_Text(pDX, IDC_EDIT1, m_nResult); 
} 
 
 
BEGIN_MESSAGE_MAP(CResult, CDialog) 
END_MESSAGE_MAP() 
 
 
// CResult 消息处理程序 
 
void CResult::SetResultValue(int nResult) 
{ 
	this->m_nResult=nResult; 
}