financemisview.cpp

来自「个人财务管理系统,很实用的一个源码,很有参考价值,下载」· C++ 代码 · 共 82 行

CPP
82
字号
// FinanceMISView.cpp : implementation of the CFinanceMISView class
//

#include "stdafx.h"
#include "FinanceMIS.h"

#include "FinanceMISDoc.h"
#include "FinanceMISView.h"

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

/////////////////////////////////////////////////////////////////////////////
// CFinanceMISView

IMPLEMENT_DYNCREATE(CFinanceMISView, CView)

BEGIN_MESSAGE_MAP(CFinanceMISView, CView)
	//{{AFX_MSG_MAP(CFinanceMISView)
		// NOTE - the ClassWizard will add and remove mapping macros here.
		//    DO NOT EDIT what you see in these blocks of generated code!
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CFinanceMISView construction/destruction

CFinanceMISView::CFinanceMISView()
{
	// TODO: add construction code here

}

CFinanceMISView::~CFinanceMISView()
{
}

BOOL CFinanceMISView::PreCreateWindow(CREATESTRUCT& cs)
{
	// TODO: Modify the Window class or styles here by modifying
	//  the CREATESTRUCT cs

	return CView::PreCreateWindow(cs);
}

/////////////////////////////////////////////////////////////////////////////
// CFinanceMISView drawing

void CFinanceMISView::OnDraw(CDC* pDC)
{
	CFinanceMISDoc* pDoc = GetDocument();
	ASSERT_VALID(pDoc);
	// TODO: add draw code for native data here
}

/////////////////////////////////////////////////////////////////////////////
// CFinanceMISView diagnostics

#ifdef _DEBUG
void CFinanceMISView::AssertValid() const
{
	CView::AssertValid();
}

void CFinanceMISView::Dump(CDumpContext& dc) const
{
	CView::Dump(dc);
}

CFinanceMISDoc* CFinanceMISView::GetDocument() // non-debug version is inline
{
	ASSERT(m_pDocument->IsKindOf(RUNTIME_CLASS(CFinanceMISDoc)));
	return (CFinanceMISDoc*)m_pDocument;
}
#endif //_DEBUG

/////////////////////////////////////////////////////////////////////////////
// CFinanceMISView message handlers

⌨️ 快捷键说明

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