borrowreturn.h
来自「同学编写的图书馆管理系统(数据库原理大作业)」· C头文件 代码 · 共 62 行
H
62 行
#if !defined(AFX_BORROWRETURN_H__51E06174_BE9A_49B4_BBD7_719440A82E35__INCLUDED_)
#define AFX_BORROWRETURN_H__51E06174_BE9A_49B4_BBD7_719440A82E35__INCLUDED_
#include "CardRS.h" // Added by ClassView
#include "BorrowRS.h" // Added by ClassView
#include "BookRS1.h"
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// BorrowReturn.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CBorrowReturn dialog
class CBorrowReturn : public CDialog
{
// Construction
public:
CBorrowReturn(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CBorrowReturn)
enum { IDD = IDD_BORROW_RETURN };
CListBox m_listDetail;
CListBox m_listBorrowed;
CString m_strbookNum;
CString m_strcardNum;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CBorrowReturn)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CBorrowReturn)
virtual void OnOK();
afx_msg void OnSelchangeListBorrowed();
afx_msg void OnBorrowhistory();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
bool ReturnBook(CString cardNum,CString bookNum);
bool BookList(CString cardNum,CString bookNum);
bool IsValidCard(CString cardNum);
CBorrowRS m_borrowSet;
CBookRS1 m_bookSet;
CCardRS m_cardSet;
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_BORROWRETURN_H__51E06174_BE9A_49B4_BBD7_719440A82E35__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?