serviceregframe.cpp

来自「这是我们数据库实习的作业。完成了大部分酒店管理功能」· C++ 代码 · 共 44 行

CPP
44
字号
// ServiceRegFrame.cpp : implementation file
//

#include "stdafx.h"
#include "Final.h"
#include "ServiceRegFrame.h"

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

/////////////////////////////////////////////////////////////////////////////
// CServiceRegFrame

IMPLEMENT_DYNCREATE(CServiceRegFrame, CFrameWnd)

CServiceRegFrame::CServiceRegFrame()
{
	m_pView=new CServiceRegView;
}

CServiceRegFrame::~CServiceRegFrame()
{
}

BOOL CServiceRegFrame::OnCreateClient(LPCREATESTRUCT lpcs,CCreateContext *pContext)
{
	CWnd *pWnd=m_pView;
	pWnd->Create(NULL, NULL, AFX_WS_DEFAULT_VIEW,
		CRect(0,0,0,0), this, AFX_IDW_PANE_FIRST, NULL);
	return TRUE;
}

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

/////////////////////////////////////////////////////////////////////////////
// CServiceRegFrame message handlers

⌨️ 快捷键说明

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