borrowcontinue.h

来自「同学编写的图书馆管理系统(数据库原理大作业)」· C头文件 代码 · 共 62 行

H
62
字号
#if !defined(AFX_BORROWCONTINUE_H__782D08AE_2E69_4280_8953_A87F5015E0CB__INCLUDED_)
#define AFX_BORROWCONTINUE_H__782D08AE_2E69_4280_8953_A87F5015E0CB__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
// BorrowContinue.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CBorrowContinue dialog

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

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


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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CBorrowContinue)
	virtual void OnOK();
	afx_msg void OnSelchangeListBorrowed();
	afx_msg void OnBorrowhistory();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
	bool ContinueBorrow(CString cardNum, CString bookNum);
	bool IsValidCard(CString cardNum);
	bool BookList(CString cardNum, CString bnn);
	CBorrowRS m_borrowSet;
	CCardRS m_cardSet;
	CBookRS1 m_bookSet;
};

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

#endif // !defined(AFX_BORROWCONTINUE_H__782D08AE_2E69_4280_8953_A87F5015E0CB__INCLUDED_)

⌨️ 快捷键说明

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