⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 configdlg.cpp

📁 文档生成工具 XML例子
💻 CPP
字号:
// ConfigDlg.cpp : implementation file
//

#include "stdafx.h"
#include "xmlclassdoc.h"
#include "ConfigDlg.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CConfigDlg dialog


CConfigDlg::CConfigDlg(CWnd* pParent /*=NULL*/)
	: CDialog(CConfigDlg::IDD, pParent)
{
	//{{AFX_DATA_INIT(CConfigDlg)
	m_strDBName = _T("WANDDERDB");
	m_strDBPwd = _T("");
	m_strFtpPath = _T("/XMLDOC/");
	m_strSerUser = _T("huanyun");
	m_strSerPwd = _T("790815");
	m_strProName = _T("XMLDOC");
	m_strSerIP = _T("192.251.1.118");
	m_strSerName = _T("AUTODEAL");
	m_strDBUser = _T("");
	//}}AFX_DATA_INIT
}


void CConfigDlg::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CConfigDlg)
	DDX_Text(pDX, IDC_DBNAME, m_strDBName);
	DDV_MaxChars(pDX, m_strDBName, 20);
	DDX_Text(pDX, IDC_DBPWD, m_strDBPwd);
	DDV_MaxChars(pDX, m_strDBPwd, 20);
	DDX_Text(pDX, IDC_FTPPATH, m_strFtpPath);
	DDV_MaxChars(pDX, m_strFtpPath, 100);
	DDX_Text(pDX, IDC_LOGINPWD, m_strSerUser);
	DDV_MaxChars(pDX, m_strSerUser, 20);
	DDX_Text(pDX, IDC_LONGINUSER, m_strSerPwd);
	DDV_MaxChars(pDX, m_strSerPwd, 20);
	DDX_Text(pDX, IDC_PRONAME, m_strProName);
	DDV_MaxChars(pDX, m_strProName, 20);
	DDX_Text(pDX, IDC_SERIP, m_strSerIP);
	DDV_MaxChars(pDX, m_strSerIP, 15);
	DDX_Text(pDX, IDC_SERNAME, m_strSerName);
	DDV_MaxChars(pDX, m_strSerName, 20);
	DDX_Text(pDX, IDC_DBUSER, m_strDBUser);
	DDV_MaxChars(pDX, m_strDBUser, 20);
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CConfigDlg, CDialog)
	//{{AFX_MSG_MAP(CConfigDlg)
		// NOTE: the ClassWizard will add message map macros here
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CConfigDlg message handlers

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -