dlgserverprop.cpp

来自「连接MYSQL数据库」· C++ 代码 · 共 54 行

CPP
54
字号
//author : Jarry
//E-mail : lansingk@online.sh.cn
// DlgServerProp.cpp : implementation file
//

#include "stdafx.h"
#include "mysqlManager.h"
#include "DlgServerProp.h"

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

/////////////////////////////////////////////////////////////////////////////
// CDlgServerProp dialog


CDlgServerProp::CDlgServerProp(CWnd* pParent /*=NULL*/)
	: CDialog(CDlgServerProp::IDD, pParent)
{
	//{{AFX_DATA_INIT(CDlgServerProp)
	m_strConnection = _T("");
	m_strHost = _T("");
	m_strPort = _T("");
	m_strUser = _T("");
	m_strVersion = _T("");
	//}}AFX_DATA_INIT
}


void CDlgServerProp::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CDlgServerProp)
	DDX_Text(pDX, IDC_LBL_CONNECTION, m_strConnection);
	DDX_Text(pDX, IDC_LBL_HOST, m_strHost);
	DDX_Text(pDX, IDC_LBL_PORT, m_strPort);
	DDX_Text(pDX, IDC_LBL_USER, m_strUser);
	DDX_Text(pDX, IDC_LBL_VERSION, m_strVersion);
	//}}AFX_DATA_MAP
}


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

/////////////////////////////////////////////////////////////////////////////
// CDlgServerProp message handlers

⌨️ 快捷键说明

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