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

📄 a system.txt

📁 一个进货系统 ,很好用的 教案简介安静啊阿
💻 TXT
字号:
#if !defined(AFX_DLGSTOCK_H__ECB3F607_8A1D_4C2D_A573_5C1BE4D058B7__INCLUDED_) 
#define AFX_DLGSTOCK_H__ECB3F607_8A1D_4C2D_A573_5C1BE4D058B7__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
// DlgStock.h : header file 
// 
#include  
///////////////////////////////////////////////////////////////////////////// 
// CDlgStock dialog 
 
class CDlgStock : public CDialog 
{ 
// Construction 
public: 
	CDlgStock(CWnd* pParent = NULL);   // standard constructor 
	_ConnectionPtr pConn; 
	CString        User; 
	BOOL           bIfAdd;           //是否添加新记录标志 
 
	typedef struct Stock             //进货信息 
	{ 
		CString		sGoodID; 
		CString		sGoodName; 
		CString		sManufacturer; 
		int			iAmounts; 
		float		fPrice; 
 		CString     sStockTime; 
 
	}stock; 
	std::vector stocks; 
 
		//void AddToDataBase(); 
// Dialog Data 
	//{{AFX_DATA(CDlgStock) 
	enum { IDD = IDD_DlgStock }; 
	CButton	        m_BtnAdd; 
	CListCtrl		m_StockList; 
	CString			m_GoodsID; 
	CString			m_GoodsName; 
	CString			m_Manufacturer; 
	int				m_StockAmount; 
	float			m_StockPrice;	 
//	COleDateTime   	m_StockDate; 
	//}}AFX_DATA 
 
 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CDlgStock) 
	protected: 
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support 
	//}}AFX_VIRTUAL 
 
// Implementation 
protected: 
 
	// Generated message map functions 
	//{{AFX_MSG(CDlgStock) 
	afx_msg void OnStockBtnAdd();       //添加进货信息到列表框 
	afx_msg void OnStockBtnDelete();    //从列表框删除进货信息 
	afx_msg void OnCancel(); 
	virtual BOOL OnInitDialog();   
	afx_msg void OnOk(); 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
}; 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_DLGSTOCK_H__ECB3F607_8A1D_4C2D_A573_5C1BE4D058B7__INCLUDED_) 

⌨️ 快捷键说明

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