www.pudn.com > agentnet.zip > SetupMail.cpp


// SetupMail.cpp : implementation file 
// 
 
#include "stdafx.h" 
#include "AgentNetClient.h" 
#include "SetupMail.h" 
 
#ifdef _DEBUG 
#define new DEBUG_NEW 
#undef THIS_FILE 
static char THIS_FILE[] = __FILE__; 
#endif 
 
///////////////////////////////////////////////////////////////////////////// 
// CSetupMail property page 
 
IMPLEMENT_DYNCREATE(CSetupMail, CPropertyPage) 
 
CSetupMail::CSetupMail() : CPropertyPage(CSetupMail::IDD) 
{ 
	//{{AFX_DATA_INIT(CSetupMail) 
	m_strMailAccount = _T(""); 
	m_strMailPassword = _T(""); 
	m_strMailServer = _T(""); 
	//}}AFX_DATA_INIT 
} 
 
CSetupMail::~CSetupMail() 
{ 
} 
 
void CSetupMail::DoDataExchange(CDataExchange* pDX) 
{ 
	CPropertyPage::DoDataExchange(pDX); 
	//{{AFX_DATA_MAP(CSetupMail) 
	DDX_Text(pDX, IDC_EDIT_MAIL_ACCOUNT, m_strMailAccount); 
	DDX_Text(pDX, IDC_EDIT_MAIL_ACCOUNT_PASSWORD, m_strMailPassword); 
	DDX_Text(pDX, IDC_EDIT_MAIL_SERVER, m_strMailServer); 
	//}}AFX_DATA_MAP 
} 
 
 
BEGIN_MESSAGE_MAP(CSetupMail, CPropertyPage) 
	//{{AFX_MSG_MAP(CSetupMail) 
		// NOTE: the ClassWizard will add message map macros here 
	//}}AFX_MSG_MAP 
END_MESSAGE_MAP() 
 
///////////////////////////////////////////////////////////////////////////// 
// CSetupMail message handlers