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

📄 communicate.cpp

📁 一个非常简单地址簿程序
💻 CPP
字号:
// Communicate.cpp : implementation file
//

#include "stdafx.h"
#include "MyAL.h"
#include "Communicate.h"

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

/////////////////////////////////////////////////////////////////////////////
// CCommunicate dialog


CCommunicate::CCommunicate(CWnd* pParent /*=NULL*/)
	: CDialog(CCommunicate::IDD, pParent)
{
	//{{AFX_DATA_INIT(CCommunicate)
	m_strCity = _T("");
	m_strCountry = _T("");
	m_strEmail = _T("");
	m_strPostalcode = _T("");
	m_strProvince = _T("");
	m_strStreet = _T("");
	//}}AFX_DATA_INIT
}


void CCommunicate::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CCommunicate)
	DDX_CBString(pDX, IDC_CITY, m_strCity);
	DDX_CBString(pDX, IDC_COUNTRY, m_strCountry);
	DDX_Text(pDX, IDC_EMAIL, m_strEmail);
	DDX_Text(pDX, IDC_POSTALCODE, m_strPostalcode);
	DDX_CBString(pDX, IDC_PROVINCE, m_strProvince);
	DDX_Text(pDX, IDC_STREET, m_strStreet);
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CCommunicate, CDialog)
	//{{AFX_MSG_MAP(CCommunicate)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CCommunicate message handlers

void CCommunicate::OnOK() 
{
	UpdateData(TRUE);

	CDialog::OnOK();
}

⌨️ 快捷键说明

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