【VC开源代码栏目提醒】:网学会员在VC开源代码频道为大家收集整理了Show.cpp提供大家参考,希望对大家有所帮助!
// Show.cpp : implementation file
//
#include "stdafx.h"
#include "NetMap.h"
#include "Show.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CShow dialog
CShow::CShow(CWnd* pParent /*=NULL*/)
: CDialog(CShow::IDD, pParent)
{
//{{AFX_DATA_INIT(CShow)
m_descr = _T("");
m_localport = _T("");
m_remotelocal = _T("");
m_ip = _T("");
//}}AFX_DATA_INIT
}
void CShow::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CShow)
DDX_Text(pDX, IDC_EDIT1, m_descr);
DDX_Text(pDX, IDC_EDIT2, m_localport);
DDX_Text(pDX, IDC_EDIT3, m_remotelocal);
DDX_Text(pDX, IDC_EDIT4, m_ip);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CShow, CDialog)
//{{AFX_MSG_MAP(CShow)
// NOTE: the ClassWizard will add message map macros here
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CShow message handlers