consumer.h

来自「这是一个不错的商店管理系统」· C头文件 代码 · 共 73 行

H
73
字号
#if !defined(AFX_CONSUMER_H__EE917FE2_3DF8_46FF_868B_940E850B3B16__INCLUDED_)
#define AFX_CONSUMER_H__EE917FE2_3DF8_46FF_868B_940E850B3B16__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// Cconsumer dialog

class Cconsumer : public CDialog
{
// Construction
public:
	Cconsumer(CWnd* pParent = NULL);   // standard constructor
	void displayintheuserlist();
	int nItem;
	_variant_t vconsumerno,vconsumername,vleftmoney,vaddress,vtelephone;
	_RecordsetPtr m_pRecordset;
	 
	void LoadData0();
    CString sql;
	int m_nCurrentSel;
 
	CString option1,mode,condition;
	bool option11;

// Dialog Data
	//{{AFX_DATA(Cconsumer)
	enum { IDD = IDD_consumer };
	CListCtrl	m_userlist;
	CString	m_condition;
	CString	m_consumername;
	CString	m_consumerno;
	CString	m_leftmoney;
	CString	m_mode;
	CString	m_telephone;
	CString	m_address;
	//}}AFX_DATA


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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(Cconsumer)
	virtual BOOL OnInitDialog();
	afx_msg void OnItemchangedUserlist(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnButton1();
	afx_msg void OnButton2();
	afx_msg void OnButton3();
	afx_msg void OnButton4();
	afx_msg void OnRadio1();
	afx_msg void OnRadio2();
	afx_msg void OnRadio3();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_CONSUMER_H__EE917FE2_3DF8_46FF_868B_940E850B3B16__INCLUDED_)

⌨️ 快捷键说明

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