📄 bookborrowdlg.h
字号:
#if !defined(AFX_BOOKBORROWDLG_H__DA9ADEDD_B7E2_4B6A_BA3F_8BD6ECAD2F10__INCLUDED_)
#define AFX_BOOKBORROWDLG_H__DA9ADEDD_B7E2_4B6A_BA3F_8BD6ECAD2F10__INCLUDED_
#include "BookRS1.h" // Added by ClassView
#include "BorrowRS.h" // Added by ClassView
#include "CardRS.h" // Added by ClassView
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// BookBorrowDlg.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CBookBorrowDlg dialog
class CBookBorrowDlg : public CDialog
{
// Construction
public:
CBookBorrowDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CBookBorrowDlg)
enum { IDD = IDD_BOOK_BORROW };
CListBox m_listResult;
CListBox m_listDetail;
CString m_strBookNum;
CString m_strCardNum;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CBookBorrowDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CBookBorrowDlg)
virtual void OnOK();
afx_msg void OnSelchangeListResult();
afx_msg void OnCardDetail();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
bool BorrowBook( const CString &cardNum, const CString &bookNum );
bool AnyBookExpired ( const CString &cardNum );
bool IsValidCard(const CString&cardNum);
CCardRS m_cardSet;
CBorrowRS m_borrowSet;
CBookRS1 m_bookSet;
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_BOOKBORROWDLG_H__DA9ADEDD_B7E2_4B6A_BA3F_8BD6ECAD2F10__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -