dbconfigdlg.cpp

来自「visual c++数据库开发基础与应用的源代码」· C++ 代码 · 共 48 行

CPP
48
字号
// DBConfigDlg.cpp : implementation file
//

#include "stdafx.h"
#include "AttendMIS.h"
#include "DBConfigDlg.h"

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

/////////////////////////////////////////////////////////////////////////////
// CDBConfigDlg dialog


CDBConfigDlg::CDBConfigDlg(CWnd* pParent /*=NULL*/)
	: CDialog(CDBConfigDlg::IDD, pParent)
{
	//{{AFX_DATA_INIT(CDBConfigDlg)
	m_strDBSource = _T("");
	m_strDBUser = _T("");
	m_strDBPassword = _T("");
	//}}AFX_DATA_INIT
}


void CDBConfigDlg::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CDBConfigDlg)
	DDX_Text(pDX, IDC_EDIT_DBSOURCE, m_strDBSource);
	DDX_Text(pDX, IDC_EDIT_DBUSER, m_strDBUser);
	DDX_Text(pDX, IDC_EDIT_PASSWORD, m_strDBPassword);
	//}}AFX_DATA_MAP
}


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

/////////////////////////////////////////////////////////////////////////////
// CDBConfigDlg message handlers

⌨️ 快捷键说明

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