bookadddlg.h
来自「采用MFC+SQLSERVER 2000的图书管理系统,ODBC方式连接数据库。」· C头文件 代码 · 共 65 行
H
65 行
#if !defined(AFX_BOOKADDDLG_H__D4177012_85DE_4FD1_A1A0_3B9570194191__INCLUDED_)
#define AFX_BOOKADDDLG_H__D4177012_85DE_4FD1_A1A0_3B9570194191__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// BookAddDlg.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CBookAddDlg dialog
class CBookAddDlg : public CDialog
{
// Construction
public:
CBookAddDlg(CWnd* pParent = NULL); // standard constructor
CDatabase m_database;
public:
void OnButtonNewBooks();
// Dialog Data
//{{AFX_DATA(CBookAddDlg)
enum { IDD = IDD_BOOKADD };
CListCtrl m_ctrList;
CString m_isbn;
CString m_author;
CString m_classify;
CString m_describe;
CString m_name;
CString m_press;
CString m_price;
CString m_seriesname;
CString m_theme;
CString m_id;
CString m_inds;
CString m_tiaoma;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CBookAddDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
CBrush m_brush;
// Generated message map functions
//{{AFX_MSG(CBookAddDlg)
virtual void OnCancel();
afx_msg void OnAdd();
virtual BOOL OnInitDialog();
afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_BOOKADDDLG_H__D4177012_85DE_4FD1_A1A0_3B9570194191__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?