orderdlg.h

来自「< Visual C+++SQL Server数据库开发与实例>&g」· C头文件 代码 · 共 64 行

H
64
字号
#if !defined(AFX_ORDERDLG_H__CCFB33E4_8630_432B_813A_BD90341D9229__INCLUDED_)
#define AFX_ORDERDLG_H__CCFB33E4_8630_432B_813A_BD90341D9229__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// COrderDLG dialog

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

// Dialog Data
	//{{AFX_DATA(COrderDLG)
	enum { IDD = IDD_ORDER_DIALOG };
	CString	m_sCustomerName;
	CString	m_sCustomerPerson;
	CString	m_sCustomerPhone;
	CString	m_sDiscount;
	CString	m_sMemo;
	COleDateTime	m_tOrderDate;
	CString	m_sPrice;
	CString	m_sProductName;
	CString	m_sProductSpec;
	CString	m_sProductUnit;
	CString	m_sQuantity;
	//}}AFX_DATA


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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(COrderDLG)
	virtual BOOL OnInitDialog();
	afx_msg void OnOrderCustomerNameSelChange();
	afx_msg void OnOrderProductNameSelChange();
	virtual void OnOK();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
	CString m_sOldProductName;
	CString m_sOldCustomerName;
};

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

#endif // !defined(AFX_ORDERDLG_H__CCFB33E4_8630_432B_813A_BD90341D9229__INCLUDED_)

⌨️ 快捷键说明

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