loanbookdlg.h

来自「管理员登录功能;读者借阅模块;读者归还模块;书籍信息模块」· C头文件 代码 · 共 58 行

H
58
字号
#if !defined(AFX_LOANBOOKDLG_H__8D4F5F74_AE63_44E3_BC45_761B2640B385__INCLUDED_)
#define AFX_LOANBOOKDLG_H__8D4F5F74_AE63_44E3_BC45_761B2640B385__INCLUDED_

#include "ADOConn.h"
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// LoanBookDlg.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CLoanBookDlg dialog

class CLoanBookDlg : public CDialog
{
// Construction
public:
	void ModifyData();											//更新数据
	void InsertData();											//插入数据
	BOOL JudgeItemLoan();										//判断该书是否存在或已经借出
	void SetBorrowerID(CString strBorrowerID);					//设置读者号
	CLoanBookDlg(CString strBorrowerID,CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CLoanBookDlg)
	enum { IDD = IDD_LOANBOOK_DIALOG };
	CString	m_sBorrowerID;
	CString	m_sItemID;
	//}}AFX_DATA


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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CLoanBookDlg)
	afx_msg void OnLoan();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

private:
	CString m_sLoanStartDate;
	CString m_sLoanEndDate;
	ADOConn m_AdoConn;
};

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

#endif // !defined(AFX_LOANBOOKDLG_H__8D4F5F74_AE63_44E3_BC45_761B2640B385__INCLUDED_)

⌨️ 快捷键说明

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