customeradd.h

来自「本人工作中的一个软件开发实例。里面包含了数据库」· C头文件 代码 · 共 62 行

H
62
字号
#if !defined(AFX_CUSTOMERADD_H__5B42845E_CC8D_4A6F_BCDB_FB64F7981D3C__INCLUDED_)
#define AFX_CUSTOMERADD_H__5B42845E_CC8D_4A6F_BCDB_FB64F7981D3C__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// CustomerAdd.h : header file
//
#include "CustomerManager.h"

/////////////////////////////////////////////////////////////////////////////
// CCustomerAdd dialog

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

// Dialog Data
	//{{AFX_DATA(CCustomerAdd)
	enum { IDD = IDD_CUSTOMER_ADD };
	int     m_nDoWhat;
	CString	m_strAddress;
	CString	m_strCustomerID;
	CString	m_strCustomerName;
	CString	m_strCustomerShort;
	CString	m_strCustomerShortEnglish;
	CString	m_strHandler;
	CString	m_strNotes;
	CString	m_strTelephone;
	//CCustomerManager *m_pCustomerManager;
	CWnd*   m_pParent;
	_RecordsetPtr	  m_pRecordset;

	//}}AFX_DATA


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

// Implementation
protected:

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

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

#endif // !defined(AFX_CUSTOMERADD_H__5B42845E_CC8D_4A6F_BCDB_FB64F7981D3C__INCLUDED_)

⌨️ 快捷键说明

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