booksearchdlg.h

来自「图书管理系统可以添加」· C头文件 代码 · 共 52 行

H
52
字号
#if !defined(AFX_BOOKSEARCHDLG_H__32218B4D_7F43_4256_A43A_C3160C3C881F__INCLUDED_)
#define AFX_BOOKSEARCHDLG_H__32218B4D_7F43_4256_A43A_C3160C3C881F__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// BookSearchDlg.h : header file
//
#include "BookSet.h"
/////////////////////////////////////////////////////////////////////////////
// CBookSearchDlg dialog

class CBookSearchDlg : public CDialog
{
// Construction
public:
	CBookSearchDlg(CWnd* pParent = NULL);   // standard constructor
	CDatabase	m_BookDB;
	CBookSet	*m_bookSet;
// Dialog Data
	//{{AFX_DATA(CBookSearchDlg)
	enum { IDD = IDD_BOOK_SEARCH };
	CListCtrl	m_ctrList;
	CString	m_BookID;
	//}}AFX_DATA


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

// Implementation
protected:
	void RefreshData(CString strSQL);
	virtual BOOL OnInitDialog();

	// Generated message map functions
	//{{AFX_MSG(CBookSearchDlg)
	afx_msg void OnSearch();
	afx_msg void OnShowALL();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_BOOKSEARCHDLG_H__32218B4D_7F43_4256_A43A_C3160C3C881F__INCLUDED_)

⌨️ 快捷键说明

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