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

📄 borrowborrowdlg.h

📁 同学编写的图书馆管理系统(数据库原理大作业)
💻 H
字号:
#if !defined(AFX_BORROWBORROWDLG_H__6641CDBE_B616_4022_A4F4_DC0E25277841__INCLUDED_)
#define AFX_BORROWBORROWDLG_H__6641CDBE_B616_4022_A4F4_DC0E25277841__INCLUDED_

#include "BookRS1.h"	// Added by ClassView
#include "CardRS.h"	// Added by ClassView
#include "BorrowRS.h"	// Added by ClassView
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// BorrowBorrowDlg.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CBorrowBorrowDlg dialog

class CBorrowBorrowDlg : public CDialog
{
// Construction
public:
	CBorrowBorrowDlg(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CBorrowBorrowDlg)
	enum { IDD = IDD_BORROW_BORROW };
	CListBox	m_listDetail;
	CListBox	m_listBorrowed;
	CString	m_strBookNum;
	CString	m_strCardNum;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CBorrowBorrowDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CBorrowBorrowDlg)
	virtual void OnOK();
	afx_msg void OnSelchangeListBorrowed();
	afx_msg void OnBorrowhistory();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP();
private:
	CBookRS1 m_bookSet;
	bool IsValidCard(const CString& cardNum);
	bool AnyBookExpired(const CString& cardNum,const CString &bookNum);
	bool BorrowBook(const CString &cardNum,const CString &bookNum);
	CBorrowRS m_borrowSet;
	CCardRS m_cardSet;
};

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

#endif // !defined(AFX_BORROWBORROWDLG_H__6641CDBE_B616_4022_A4F4_DC0E25277841__INCLUDED_)

⌨️ 快捷键说明

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