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

📄 sellbook.h

📁 赛克思书店销售管理系统.可用于二次开发,以C++与sql 写.
💻 H
字号:
#if !defined(AFX_SELLDLG_H__0F84CCFC_2DED_4B8E_AFC6_D502DFACF002__INCLUDED_)
#define AFX_SELLDLG_H__0F84CCFC_2DED_4B8E_AFC6_D502DFACF002__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// SellDlg.h : header file
//
#include <vector>
/////////////////////////////////////////////////////////////////////////////
// CSellDlg dialog

class AFX_EXT_CLASS CSellDlg : public CDialog
{
// Construction
public:
	CSellDlg(CWnd* pParent = NULL);   // standard constructor
public:
	_ConnectionPtr pConn;
	_RecordsetPtr  pRst;
	virtual ~CSellDlg();
// Dialog Data
	//{{AFX_DATA(CSellDlg)
	enum { IDD = IDD_SELLBOX };
	CSpinButtonCtrl	m_Spin;
	CListCtrl		m_SellList;
	CString			m_SellISBN;
	CString			m_SellVip;
	int				m_SellNum;
	int				m_SellDis;
	//}}AFX_DATA
public:
typedef struct SellBook
{
	CString		isbn;
	CString		name;
	CString		author;
	CString		classes;
	CString		press;
	int			num;
	CString		version;
	CString		volume;
	int			discount;
	int			price;
	CString		vipid;
	CString		empid;
}sell;
	std::vector<sell> sells;
// Overrides
	//{{AFX_VIRTUAL(CSellDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	virtual BOOL OnInitDialog();
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CSellDlg)
	afx_msg BOOL OnSellsavecontinue();
	virtual void OnOK();
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnSelldelete();
	afx_msg void OnPaint();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

};

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

#endif // !defined(AFX_SELLDLG_H__0F84CCFC_2DED_4B8E_AFC6_D502DFACF002__INCLUDED_)

⌨️ 快捷键说明

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