📄 bookdlg.h
字号:
#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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -