selldlg.h

来自「VC++ 开发的一个大型进销存管理系统,并附带有Visio的数据库开发模型,商品」· C头文件 代码 · 共 87 行

H
87
字号
#if !defined(AFX_SELLDLG_H__63DF9012_2502_43F7_838C_7181B25234F9__INCLUDED_)
#define AFX_SELLDLG_H__63DF9012_2502_43F7_838C_7181B25234F9__INCLUDED_

#include "Data.h"	// Added by ClassView
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// SellDlg.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CSellDlg dialog
#include "Data.h"

class CSellDlg : public CDialog
{
// Construction
public:
	void InitComboBox(CComboBox *combo);
	CString m_strManager;
	CData *m_ds;
	CSellDlg(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CSellDlg)
	enum { IDD = IDD_DIALOG_SELL };
	CListCtrl	m_listThisSell;
	CListBox	m_listTEMP;
	CComboBox	m_comboCustomerID;
	CComboBox	m_comboGoodName;
	CComboBox	m_comboClassName;
	CSpinButtonCtrl	m_spinNum;
	CString	m_className;
	CString	m_customerID;
	CString	m_customerName;
	CString	m_goodName;
	CString	m_managerName;
	CString	m_address;
	CString	m_email;
	CString	m_info;
	CString	m_inteqral;
	CString	m_num;
	CString	m_price;
	CString	m_qq;
	CString	m_sum;
	CString	m_tele;
	CString	m_sellID;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CSellDlg)
	public:
	virtual BOOL PreTranslateMessage(MSG* pMsg);
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CSellDlg)
	afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
	virtual void OnOK();
	virtual BOOL OnInitDialog();
	afx_msg void OnDeltaposSpinPrice(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnSelchangeComboClassname();
	afx_msg void OnSelchangeComboGoodname();
	afx_msg void OnEditchangeComboCustomerid();
	afx_msg void OnKillfocusListTemp();
	afx_msg void OnSelchangeListTemp();
	afx_msg void OnChangeEditNum();
	afx_msg void OnDeltaposSpinNum(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnBtnCalc();
	afx_msg void OnBtnAddcustomer();
	afx_msg void OnDblclkListTemp();
	//}}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__63DF9012_2502_43F7_838C_7181B25234F9__INCLUDED_)

⌨️ 快捷键说明

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