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

📄 vlanview.cpp

📁 非常好的测量网络流量及MIB浏览器编译-过!
💻 CPP
字号:
// VlanView.cpp : implementation file
//

#include "stdafx.h"
#include "NetMapDoc.h"
#include "NetMap.h"
#include "VlanView.h"
#include "Mainfrm.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CVlanView

IMPLEMENT_DYNCREATE(CVlanView, CFormView)

CVlanView::CVlanView()
	: CFormView(CVlanView::IDD)
{
	//{{AFX_DATA_INIT(CVlanView)
		// NOTE: the ClassWizard will add member initialization here
	//}}AFX_DATA_INIT
}

CVlanView::~CVlanView()
{

}

void CVlanView::DoDataExchange(CDataExchange* pDX)
{
	CFormView::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CVlanView)
		// NOTE: the ClassWizard will add DDX and DDV calls here
	//}}AFX_DATA_MAP
}
void CVlanView::OnInitialUpdate()
{
	CFormView::OnInitialUpdate();
	GetParentFrame()->RecalcLayout();
	ResizeParentToFit();
	CMainFrame *pMain=(CMainFrame *)AfxGetApp()->m_pMainWnd;
	pMain->pVlanView=this;
//	CNetMapDoc *pDoc=(CNetMapDoc *)GetDocument();
//	MessageBox(pDoc->s);
}

BEGIN_MESSAGE_MAP(CVlanView, CFormView)
	//{{AFX_MSG_MAP(CVlanView)
		// NOTE - the ClassWizard will add and remove mapping macros here.
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CVlanView diagnostics

#ifdef _DEBUG
void CVlanView::AssertValid() const
{
	CFormView::AssertValid();
}

void CVlanView::Dump(CDumpContext& dc) const
{
	CFormView::Dump(dc);
}
#endif //_DEBUG

/////////////////////////////////////////////////////////////////////////////
// CVlanView message handlers

⌨️ 快捷键说明

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