customereditdlg.h

来自「这是一个功能相对完善的电脑报价管理系统 的一个例子」· C头文件 代码 · 共 57 行

H
57
字号
#if !defined(AFX_CUSTOMEREDITDLG_H__62111F1B_F501_4A6A_8576_F336DBD15862__INCLUDED_)
#define AFX_CUSTOMEREDITDLG_H__62111F1B_F501_4A6A_8576_F336DBD15862__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CCustomerEditDlg dialog

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

// 保存变量
public:
	CString cId;		// 用于保存当前记录的编号,如果为"",则表示插入记录
	CString cSex;		// 用于保存当前客户的性别
// Dialog Data
	//{{AFX_DATA(CCustomerEditDlg)
	enum { IDD = IDD_CUSTOMER_EDIT_DIALOG };
	CComboBox	m_sex;
	CString	m_company;
	CString	m_home;
	CString	m_memo;
	CString	m_mobile;
	CString	m_name;
	//}}AFX_DATA


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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CCustomerEditDlg)
	virtual void OnOK();
	virtual BOOL OnInitDialog();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_CUSTOMEREDITDLG_H__62111F1B_F501_4A6A_8576_F336DBD15862__INCLUDED_)

⌨️ 快捷键说明

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