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

📄 buybook.h

📁 此为在vc环境编写的管理系统
💻 H
字号:
#if !defined(AFX_BUYDLG_H__8FF5CD36_B386_49AB_8680_AE8390356699__INCLUDED_)
#define AFX_BUYDLG_H__8FF5CD36_B386_49AB_8680_AE8390356699__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// BuyDlg.h : header file
//
#include <vector>
#include "resource.h"
/////////////////////////////////////////////////////////////////////////////
// CBuyDlg dialog

class AFX_EXT_CLASS CBuyDlg : public CDialog
{
// Construction
public:
	CBuyDlg(CWnd* pParent = NULL);   // standard constructor
	virtual BOOL OnInitDialog();
public:
	_ConnectionPtr pConn;
	CString User;
// Dialog Data
	//{{AFX_DATA(CBuyDlg)
	enum { IDD = IDD_BUYBOX };
	CListCtrl	m_BuyList;
	CString	m_BAuthor;
	int		m_BClass;
	CString	m_BISBN;
	CString	m_BName;
	int		m_BNum;
	CString	m_BPress;
	CString	m_BPressdate;
	int		m_BPrice;
	CString	m_BSedit;
	int		m_BVersion;
	int		m_BVolume;
	int		m_Price;
	int		m_BPage;
	//}}AFX_DATA
public:
	typedef struct BuyBook
{
	CString		isbn;
	CString		name;
	CString		author;
	CString		classes;
	CString		press;
	CString		pressdate;
	int			num;
	int			version;
	int			volume;
	int			buyprice;
	int			price;
	int			pages;
	CString		empid;
}Buy;
	std::vector<Buy> buys;

	std::vector<CString> bookclass;
// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CBuyDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CBuyDlg)
	afx_msg void OnBuysavecontinue();
	afx_msg void OnBuydelete();
	virtual void OnOK();
	afx_msg void OnBuysearch();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};


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

#endif // !defined(AFX_BUYDLG_H__8FF5CD36_B386_49AB_8680_AE8390356699__INCLUDED_)

⌨️ 快捷键说明

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