📄 bookmanview.h
字号:
// bookManView.h : interface of the CBookManView class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_BOOKMANVIEW_H__CC75C456_8B76_49C4_80DE_7D132ED46E98__INCLUDED_)
#define AFX_BOOKMANVIEW_H__CC75C456_8B76_49C4_80DE_7D132ED46E98__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "MainPage.h"
#include "BrrowPage.h"
#include "BuySelfPage.h"
#include "SearchPage.h"
#include "TotalPage.h"
#include "AboutPage.h"
#include "BadPage.h"
#include "bookManDoc.h"
class CBookManView : public CView
{
protected: // create from serialization only
CBookManView();
DECLARE_DYNCREATE(CBookManView)
// Attributes
public:
CBookManDoc* GetDocument();
CTabCtrl m_tabCtrl;
CMainPage m_MainPage; //首頁
CAboutPage m_AboutPage; //有關係統頁
CBadPage m_BadPage; //損壞,報廢頁
CBrrowPage m_BorrowPage; //借入,借出頁
CBuySelfPage m_BuySelfPage; //購入,賣出頁
CSearchPage m_SearchPage; //分類查找頁
CTotalPage m_TotalPage; //彙總頁
UINT nowType; //當前正在進行的操作類型
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CBookManView)
public:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
virtual void OnInitialUpdate();
protected:
virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CBookManView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
public:
afx_msg void OnAddTotal();
afx_msg void OnManageBadandbaofei();
afx_msg void OnManageBorrowandbout();
afx_msg void OnManageBuyandself();
afx_msg void OnSearchSearch();
afx_msg void OnAppAbout();
protected:
//{{AFX_MSG(CBookManView)
afx_msg void OnUpdateAddTotal(CCmdUI* pCmdUI);
afx_msg void OnUpdateManageBadandbaofei(CCmdUI* pCmdUI);
afx_msg void OnUpdateManageBorrowandbout(CCmdUI* pCmdUI);
afx_msg void OnUpdateManageBuyandself(CCmdUI* pCmdUI);
afx_msg void OnUpdateSearchSearch(CCmdUI* pCmdUI);
afx_msg void OnUpdateAppAbout(CCmdUI* pCmdUI);
//}}AFX_MSG
afx_msg void OnSelChangeMenuTab(NMHDR *pNMHDR,LRESULT *pResult);
afx_msg void OnSelChangingMenuTab(NMHDR *pNMHDR,LRESULT *pResult);
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in bookManView.cpp
inline CBookManDoc* CBookManView::GetDocument()
{ return (CBookManDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_BOOKMANVIEW_H__CC75C456_8B76_49C4_80DE_7D132ED46E98__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -