📄 wsnview.h
字号:
// WsnView.h : interface of the CWsnView class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_WSNVIEW_H__EB8364BE_EADA_41A1_B8D3_4E684F5695C4__INCLUDED_)
#define AFX_WSNVIEW_H__EB8364BE_EADA_41A1_B8D3_4E684F5695C4__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CWsnView : public CView
{
protected: // create from serialization only
CWsnView();
DECLARE_DYNCREATE(CWsnView)
// Attributes
public:
CWsnDoc* GetDocument();
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CWsnView)
public:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
protected:
virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CWsnView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CWsnView)
afx_msg void OnInitPara();
afx_msg void OnCtrStart();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
BOOL m_Brunpar_set;
BOOL m_Binitpar_set;
int m_vcellnum;
int m_hcellnum;
int m_node_num;
int m_sink_position;
int m_rectlenth;
int m_rectwidth;
long m_initnode_energy;
int m_datasize;
};
#ifndef _DEBUG // debug version in WsnView.cpp
inline CWsnDoc* CWsnView::GetDocument()
{ return (CWsnDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_WSNVIEW_H__EB8364BE_EADA_41A1_B8D3_4E684F5695C4__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -