📄 stateubookstoreview.cpp
字号:
// StateUBookstoreView.cpp : implementation of the CStateUBookstoreView class
//
#include "stdafx.h"
#include "StateUBookstore.h"
#include "StateUBookstore1.h"
#include "StateUBookstoreDoc.h"
#include "StateUBookstoreView.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CStateUBookstoreView
IMPLEMENT_DYNCREATE(CStateUBookstoreView, CView)
BEGIN_MESSAGE_MAP(CStateUBookstoreView, CView)
//{{AFX_MSG_MAP(CStateUBookstoreView)
// 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()
/////////////////////////////////////////////////////////////////////////////
// CStateUBookstoreView construction/destruction
CStateUBookstoreView::CStateUBookstoreView()
{
// TODO: add construction code here
}
CStateUBookstoreView::~CStateUBookstoreView()
{
}
BOOL CStateUBookstoreView::PreCreateWindow(CREATESTRUCT& cs)
{
// TODO: Modify the Window class or styles here by modifying
// the CREATESTRUCT cs
return CView::PreCreateWindow(cs);
}
/////////////////////////////////////////////////////////////////////////////
// CStateUBookstoreView drawing
void CStateUBookstoreView::OnDraw(CDC* pDC)
{
CStateUBookstoreDoc* pDoc = GetDocument();
ASSERT_VALID(pDoc);
// TODO: add draw code for native data here
}
/////////////////////////////////////////////////////////////////////////////
// CStateUBookstoreView diagnostics
#ifdef _DEBUG
void CStateUBookstoreView::AssertValid() const
{
CView::AssertValid();
}
void CStateUBookstoreView::Dump(CDumpContext& dc) const
{
CView::Dump(dc);
}
CStateUBookstoreDoc* CStateUBookstoreView::GetDocument() // non-debug version is inline
{
ASSERT(m_pDocument->IsKindOf(RUNTIME_CLASS(CStateUBookstoreDoc)));
return (CStateUBookstoreDoc*)m_pDocument;
}
#endif //_DEBUG
/////////////////////////////////////////////////////////////////////////////
// CStateUBookstoreView message handlers
void CStateUBookstoreView::OnInitialUpdate()
{
CView::OnInitialUpdate();
// TODO: Add your specialized code here and/or call the base class
CStateUBookstore dlg;
dlg.DoModal();
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -