bookdlg.h

来自「图书管理系统,数据结构思想,用 C++编写,经测试,可用」· C头文件 代码 · 共 71 行

H
71
字号
#if !defined(AFX_BOOKDLG_H__C11D6F1D_FBF7_4189_93FC_B0F9FF870C48__INCLUDED_)
#define AFX_BOOKDLG_H__C11D6F1D_FBF7_4189_93FC_B0F9FF870C48__INCLUDED_

#include "BookSet.h"	// Added by ClassView
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// BookDlg.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CBookDlg dialog

class CBookDlg : public CDialog
{
// Construction
public:
	void TextClear();
	int nYear;
	int nMonth;
	int nDay;
	int strLength;
	CBookSet m_BookSet;

	void InitListView();
	void TextShow();
	void ListShow();
	CBookDlg(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CBookDlg)
	enum { IDD = IDD_BOOK_DLG };
	CListCtrl	m_BookView;
	CString	m_Author;
	BOOL	m_Borrowed;
	CString	m_Press;
	CString	m_Price;
	CString	m_BookID;
	COleDateTime	m_PublishDate;
	CString	m_BookName;
	//}}AFX_DATA


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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CBookDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnClickBookView(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnRecordAdd();
	afx_msg void OnRecordDel();
	afx_msg void OnRecordEdit();
	afx_msg void OnBookFind();
	afx_msg void OnRefresh();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_BOOKDLG_H__C11D6F1D_FBF7_4189_93FC_B0F9FF870C48__INCLUDED_)

⌨️ 快捷键说明

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