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

📄 driver__conductorview.cpp

📁 模型:司机和售票员。希望对大家有帮助。。。 如有疑问
💻 CPP
字号:
// driver__conductorView.cpp : implementation of the CDriver__conductorView class
//

#include "stdafx.h"
#include "driver__conductor.h"

#include "driver__conductorDoc.h"
#include "driver__conductorView.h"

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

/////////////////////////////////////////////////////////////////////////////
// CDriver__conductorView

IMPLEMENT_DYNCREATE(CDriver__conductorView, CView)

BEGIN_MESSAGE_MAP(CDriver__conductorView, CView)
	//{{AFX_MSG_MAP(CDriver__conductorView)
		// 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
	// Standard printing commands
	ON_COMMAND(ID_FILE_PRINT, CView::OnFilePrint)
	ON_COMMAND(ID_FILE_PRINT_DIRECT, CView::OnFilePrint)
	ON_COMMAND(ID_FILE_PRINT_PREVIEW, CView::OnFilePrintPreview)
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CDriver__conductorView construction/destruction

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

}

CDriver__conductorView::~CDriver__conductorView()
{
}

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

	return CView::PreCreateWindow(cs);
}

/////////////////////////////////////////////////////////////////////////////
// CDriver__conductorView drawing

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

/////////////////////////////////////////////////////////////////////////////
// CDriver__conductorView printing

BOOL CDriver__conductorView::OnPreparePrinting(CPrintInfo* pInfo)
{
	// default preparation
	return DoPreparePrinting(pInfo);
}

void CDriver__conductorView::OnBeginPrinting(CDC* /*pDC*/, CPrintInfo* /*pInfo*/)
{
	// TODO: add extra initialization before printing
}

void CDriver__conductorView::OnEndPrinting(CDC* /*pDC*/, CPrintInfo* /*pInfo*/)
{
	// TODO: add cleanup after printing
}

/////////////////////////////////////////////////////////////////////////////
// CDriver__conductorView diagnostics

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

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

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

/////////////////////////////////////////////////////////////////////////////
// CDriver__conductorView message handlers

⌨️ 快捷键说明

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