productinfo.h

来自「企业库存管理系统, 企业库存管理系统」· C头文件 代码 · 共 94 行

H
94
字号
#if !defined(AFX_PRODUCTINFO_H__FDB50016_AE7A_493B_998B_F762EE8B6737__INCLUDED_)
#define AFX_PRODUCTINFO_H__FDB50016_AE7A_493B_998B_F762EE8B6737__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ProductInfo.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CProductInfo dialog

class CProductInfo : public CDialog
{
// Construction
public:
	CProductInfo(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CProductInfo)
	enum { IDD = IDD_PRODUCTINFO_DIALOG };
	CComboBox	m_storeHouseCombo;
	CListCtrl	m_list;
	CString	m_productID;
	CString	m_productName;
	CString	m_standard;
	CString	m_model;
	float	m_price;
	int		m_qualityGuarantee;
	int		m_maintance;
	CString	m_unit;
	CString	m_colorType;
	CString	m_qualityLevel;
	int		m_finishRate;
	float	m_taxRate;
	CString	m_storeHouse;
	CString	m_remark;
	CWnd*	tx_numMax;
	CWnd*	tx_numMin;
	CWnd*	tx_productID;
	CWnd*	tx_productName;
	CWnd*	tx_standard;
	CWnd*	tx_model;
	CWnd*	tx_price;
	CWnd*	tx_qualityGuarantee;
	CWnd*	tx_maintance;
	CWnd*	tx_unit;
	CWnd*	tx_colorType;
	CWnd*	tx_qualityLevel;
	CWnd*	tx_finishRate;
	CWnd*	tx_taxRate;
	CWnd*	tx_storeHouse;
	CWnd*	tx_remark;
	CWnd*	bt_add;
	CWnd*	bt_delete;
	CWnd*	bt_modify;
	CWnd*	bt_save;
	int flag;
	int		m_numMax;
	int		m_numMin;
	//}}AFX_DATA

public:
	void Refresh();


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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CProductInfo)
	afx_msg void OnExit();
	afx_msg void OnAdd();
	afx_msg void OnDelete();
	afx_msg void OnModify();
	afx_msg void OnSave();
	virtual BOOL OnInitDialog();
	afx_msg void OnClickList1(NMHDR* pNMHDR, LRESULT* pResult);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_PRODUCTINFO_H__FDB50016_AE7A_493B_998B_F762EE8B6737__INCLUDED_)

⌨️ 快捷键说明

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