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

📄 wagedoc.cpp

📁 这是一个用VC++编写的工资管理系统
💻 CPP
字号:
// WageDoc.cpp : implementation of the CWageDoc class
//

#include "stdafx.h"
#include "Wage1.h"

#include "WageDoc.h"

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

/////////////////////////////////////////////////////////////////////////////
// CWageDoc

IMPLEMENT_DYNCREATE(CWageDoc, CDocument)

BEGIN_MESSAGE_MAP(CWageDoc, CDocument)
	//{{AFX_MSG_MAP(CWageDoc)
		// 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()

/////////////////////////////////////////////////////////////////////////////
// CWageDoc construction/destruction

CWageDoc::CWageDoc()
{
	// TODO: add one-time construction code here

}

CWageDoc::~CWageDoc()
{
}

BOOL CWageDoc::OnNewDocument()
{
	if (!CDocument::OnNewDocument())
		return FALSE;

	// TODO: add reinitialization code here
	// (SDI documents will reuse this document)

	return TRUE;
}



/////////////////////////////////////////////////////////////////////////////
// CWageDoc serialization

void CWageDoc::Serialize(CArchive& ar)
{
	m_WageList.Serialize(ar);
}

/////////////////////////////////////////////////////////////////////////////
// CWageDoc diagnostics

#ifdef _DEBUG
void CWageDoc::AssertValid() const
{
	CDocument::AssertValid();
}

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

/////////////////////////////////////////////////////////////////////////////
// CWageDoc commands

void CWageDoc::DeleteContents()
{
	while(!m_WageList.IsEmpty())
	{
		delete m_WageList.RemoveHead();
	}
	CDocument::DeleteContents();
}

⌨️ 快捷键说明

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