📄 libview.h
字号:
// LibView.h : interface of the CLibView class
//
/////////////////////////////////////////////////////////////////////////////
#include "BookSet.h"
#include "UserSet.h"
#include "BorrowSet.h"
#if !defined(AFX_LIBVIEW_H__222D5B28_C4E7_4083_AC01_0377B226DF6D__INCLUDED_)
#define AFX_LIBVIEW_H__222D5B28_C4E7_4083_AC01_0377B226DF6D__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CLibSet;
class CLibView : public CRecordView
{
protected: // create from serialization only
CLibView();
DECLARE_DYNCREATE(CLibView)
int m_Count;
public:
void CLibView::BorrowShow(int);
void CLibView::InitBorrowShow();
void CLibView::MajorShow();
BOOL CLibView::CheckValid();
void CLibView::CheckDate();
void CLibView::InitMajorShow();
int CLibView::FindBook();
//{{AFX_DATA(CLibView)
enum { IDD = IDD_LIB_FORM };
CButton m_Check;
CListCtrl m_ListView;
CLibSet* m_pSet;
CString m_1;
CString m_Edit;
//}}AFX_DATA
CUserSet m_UserSet;
CBorrowSet m_BorrowSet;
CBookSet m_BookSet;
int isSum;
// Attributes
public:
CLibDoc* GetDocument();
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CLibView)
public:
virtual CRecordset* OnGetRecordset();
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
virtual void OnInitialUpdate(); // called first time after construct
virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CLibView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CLibView)
afx_msg void OnBookShow();
afx_msg void OnUserShow();
afx_msg void OnLateShow();
afx_msg void OnBorrow();
afx_msg void OnRecord();
afx_msg void OnReturn();
afx_msg void OnSum();
afx_msg void OnCheck();
afx_msg void OnSearch();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in LibView.cpp
inline CLibDoc* CLibView::GetDocument()
{ return (CLibDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_LIBVIEW_H__222D5B28_C4E7_4083_AC01_0377B226DF6D__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -