⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 bookadddlg.h

📁 自己编写的迷你图书馆的完整程序.VC6MFC编写的,Windows界面.数据采用了Sqlserver2000.压缩包中已包括了数据库.先附加数据库再运行.
💻 H
字号:
#if !defined(AFX_BOOKADDDLG_H__684498E2_1AEF_4CB0_83D1_1AE98F1B1824__INCLUDED_)
#define AFX_BOOKADDDLG_H__684498E2_1AEF_4CB0_83D1_1AE98F1B1824__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

// Dialog Data
	//{{AFX_DATA(CBookAddDlg)
	enum { IDD = IDD_DLG_BOOK_ADD };
	CComboBox	m_cmb_prov;
	CComboBox	m_cmb_subtype;
	CComboBox	m_cmb_type;
	CString	m_isbn;
	CString	m_name;
	int		m_type;
	int		m_subtype;
	CString	m_author;
	CString	m_pub;
	CString	m_ver;
	float	m_price;
	int		m_prov;
	CString	m_remark;
	int		m_qty;
	//}}AFX_DATA


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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CBookAddDlg)
	afx_msg void OnBtnNewType();
	afx_msg void OnBtnNewProv();
	afx_msg void OnSelchangeCmbType();
	afx_msg void OnBtnAdd();
	virtual BOOL OnInitDialog();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
	void InitCmb();
	CString GetBookID();
};

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

#endif // !defined(AFX_BOOKADDDLG_H__684498E2_1AEF_4CB0_83D1_1AE98F1B1824__INCLUDED_)

⌨️ 快捷键说明

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