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

📄 libraryview.h

📁 图书借阅管理 图书借阅管理
💻 H
字号:
// LibraryView.h : interface of the CLibraryView class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_LIBRARYVIEW_H__20A7869E_95BB_4E2E_A50C_74D523495A06__INCLUDED_)
#define AFX_LIBRARYVIEW_H__20A7869E_95BB_4E2E_A50C_74D523495A06__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "BookInfoSet.h"
#include "ProviderSet.h"
#include "BorrowerCard.h"

class CLibrarySet;
class CBookInfoSet;
class CProviderSet;
class CBorrowerCard;

class CLibraryView : public CRecordView
{
public: // create from serialization only
	CLibraryView();
	DECLARE_DYNCREATE(CLibraryView)

public:
	//{{AFX_DATA(CLibraryView)
	enum { IDD = IDD_LIBRARY_FORM };
	CLibrarySet* m_pSet;
	CString	m_sBookName;
	CString	m_sISBN;
	CString	m_sPrice;
	CString	m_sPrivider;
	CString	m_sPrividerAddr;
	CString	m_sLinkMan;
	UINT	m_nBorrowCardNum;
	UINT	m_nPrividerPhone;
	COleDateTime	m_olePublishDate;
	CString	m_sPublishing;
	CString	m_sReaderAddr;
	CString	m_sReaderName;
	UINT	m_nReaderPhone;
	COleDateTime	m_oleSignDate;
	CString	m_sWriterName;
	COleDateTime	m_oleBuyDate;
	//}}AFX_DATA

// Attributes
public:
	CLibraryDoc* GetDocument();

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CLibraryView)
	public:
	virtual CRecordset* OnGetRecordset();
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	virtual BOOL OnMove(UINT nIDMoveCommand);
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	virtual void OnInitialUpdate(); // called first time after construct
	virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
	virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
	virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
	//}}AFX_VIRTUAL

// Implementation
public:
	void SetNewValue();
	void SetNullValue();
	void ShowSetData();
	BOOL m_bAdding;
	CBorrowerCard m_BorrowerCardSet;
	CBookInfoSet m_BookInfoSet;
	CProviderSet m_ProviderSet;
	virtual ~CLibraryView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CLibraryView)
	afx_msg void OnQueryBorrow();
	afx_msg void OnInsertBorrow();
	afx_msg void OnDeleteBorrow();
	afx_msg void OnKillfocusBookname();
	afx_msg void OnKillfocusCardid();
	afx_msg void OnKillfocusPrivider();
	afx_msg void OnInlibriry();
	afx_msg void OnUnqueryBorrow();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG  // debug version in LibraryView.cpp
inline CLibraryDoc* CLibraryView::GetDocument()
   { return (CLibraryDoc*)m_pDocument; }
#endif

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_LIBRARYVIEW_H__20A7869E_95BB_4E2E_A50C_74D523495A06__INCLUDED_)

⌨️ 快捷键说明

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