cardinfodlg.cpp

来自「该程序是用vc6.0实现的。主要功能是获得网卡信息」· C++ 代码 · 共 51 行

CPP
51
字号
// CardInfoDlg.cpp : implementation file
//

#include "stdafx.h"
#include "GetNetSetting.h"
#include "CardInfoDlg.h"

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

/////////////////////////////////////////////////////////////////////////////
// CCardInfoDlg dialog


CCardInfoDlg::CCardInfoDlg(CWnd* pParent /*=NULL*/)
	: CDialog(CCardInfoDlg::IDD, pParent)
{
	//{{AFX_DATA_INIT(CCardInfoDlg)
	//}}AFX_DATA_INIT
}


void CCardInfoDlg::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CCardInfoDlg)
	DDX_Control(pDX, IDC_IPADDRESS, m_staticIPAddress);
	DDX_Control(pDX, IDC_MACADDR, m_addrMAC);
	DDX_Control(pDX, IDC_NETGATE, m_listNetGate);
	DDX_Control(pDX, IDC_ISROUTE, m_staticIsRoute);
	DDX_Control(pDX, IDC_ISDNS, m_staticIsDns);
	DDX_Control(pDX, IDC_IP, m_listctrlIP);
	DDX_Control(pDX, IDC_DOMAIN, m_staticDomain);
	DDX_Control(pDX, IDC_DNSSERIAL, m_listDNS);
	DDX_Control(pDX, IDC_HOSTNAME, m_staticHostName);
	//}}AFX_DATA_MAP
}


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

/////////////////////////////////////////////////////////////////////////////
// CCardInfoDlg message handlers

⌨️ 快捷键说明

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