dialupparams.cpp

来自「Visual C++编程宝典随书光盘里的代码」· C++ 代码 · 共 48 行

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

#include "stdafx.h"
#include "AutoDialer.h"
#include "DialupParams.h"

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

/////////////////////////////////////////////////////////////////////////////
// CDialupParams dialog


CDialupParams::CDialupParams(CWnd* pParent /*=NULL*/)
	: CDialog(CDialupParams::IDD, pParent)
{
	//{{AFX_DATA_INIT(CDialupParams)
	m_strDialupName = _T("");
	m_strPassword = _T("");
	m_strUserName = _T("");
	//}}AFX_DATA_INIT
}


void CDialupParams::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CDialupParams)
	DDX_Text(pDX, IDC_DIALUPNAME, m_strDialupName);
	DDX_Text(pDX, IDC_PASSWORD, m_strPassword);
	DDX_Text(pDX, IDC_USERNAME, m_strUserName);
	//}}AFX_DATA_MAP
}


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

/////////////////////////////////////////////////////////////////////////////
// CDialupParams message handlers

⌨️ 快捷键说明

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