loandlg.h

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

H
68
字号
#if !defined(AFX_LOANDLG_H__AE287242_6AC3_431C_A309_F8EFFF74850E__INCLUDED_)
#define AFX_LOANDLG_H__AE287242_6AC3_431C_A309_F8EFFF74850E__INCLUDED_


#include "ADOConn.h"

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// LoanDlg.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CLoanDlg dialog

class CLoanDlg : public CDialog
{
// Construction
public:
	void ShowList1(CString strBorrowerID,CString strStartDate,CString strEndDate);
	CLoanDlg(CWnd* pParent = NULL);   // standard constructor

	void InsertData(CString strBorrowerID, CString strBorrowerName);
	void DeleteData(CString strBorrowerID);
	void ModifyData(CString strOldBorrowerID,CString strBorrowerID,CString strBorrowerName);

	BOOL JudgeBorrowerID(CString strBorrowerID);
	void AddList(CString strBorrowerID, CString strBorrowerName);
	void ModifyList(CString strBorrowerID, CString strBorrowerName);
	void InitList();
	void ShowList();


// Dialog Data
	//{{AFX_DATA(CLoanDlg)
	enum { IDD = IDD_LOANINFO_DIALOG };
	CListCtrl	m_list;
	CString	m_sBorrowerID;
	CTime	m_StartDate;
	CTime	m_EndDate;
	//}}AFX_DATA


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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CLoanDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnBorrowborrowerloaninfo();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
	ADOConn m_AdoConn;
};

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

#endif // !defined(AFX_LOANDLG_H__AE287242_6AC3_431C_A309_F8EFFF74850E__INCLUDED_)

⌨️ 快捷键说明

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