www.pudn.com > agentnet.zip > SetupSqlPage.cpp
// SetupSqlPage.cpp : implementation file
//
#include "stdafx.h"
#include "AgentNetServer.h"
#include "SetupSqlPage.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CSetupSqlPage property page
IMPLEMENT_DYNCREATE(CSetupSqlPage, CPropertyPage)
CSetupSqlPage::CSetupSqlPage() : CPropertyPage(CSetupSqlPage::IDD)
{
//{{AFX_DATA_INIT(CSetupSqlPage)
m_strSqlAccount = _T("");
m_strSqlPassword = _T("");
m_strSqlServerName = _T("");
//}}AFX_DATA_INIT
}
CSetupSqlPage::~CSetupSqlPage()
{
}
void CSetupSqlPage::DoDataExchange(CDataExchange* pDX)
{
CPropertyPage::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CSetupSqlPage)
DDX_Text(pDX, IDC_EDIT_SETUP_SQL_ACCOUNT, m_strSqlAccount);
DDX_Text(pDX, IDC_EDIT_SETUP_SQL_PASSWORD, m_strSqlPassword);
DDX_Text(pDX, IDC_EDIT_SETUP_SQL_SQLNAME, m_strSqlServerName);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CSetupSqlPage, CPropertyPage)
//{{AFX_MSG_MAP(CSetupSqlPage)
// NOTE: the ClassWizard will add message map macros here
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CSetupSqlPage message handlers