viewinother.cpp

来自「繁琐的家庭收支」· C++ 代码 · 共 66 行

CPP
66
字号
// ViewInOther.cpp : 实现文件
//

#include "stdafx.h"
#include "HomeManage.h"
#include "MainFrm.h"
#include "ViewInOther.h"


// CViewInOther

IMPLEMENT_DYNCREATE(CViewInOther, CFormView)

CViewInOther::CViewInOther()
	: CFormView(CViewInOther::IDD)
{

}

CViewInOther::~CViewInOther()
{
}

void CViewInOther::DoDataExchange(CDataExchange* pDX)
{
	CFormView::DoDataExchange(pDX);
}

BEGIN_MESSAGE_MAP(CViewInOther, CFormView)
	ON_WM_DESTROY()
END_MESSAGE_MAP()


// CViewInOther 诊断

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

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


// CViewInOther 消息处理程序

void CViewInOther::OnInitialUpdate()
{
	CFormView::OnInitialUpdate();

	GetParentFrame()->SetWindowText("其它收入");

}

void CViewInOther::OnDestroy()
{
	CFormView::OnDestroy();
	((CMainFrame*)AfxGetMainWnd())->m_inother=NULL; // 清空窗口指针
}

⌨️ 快捷键说明

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