addcar.cpp

来自「一个课程作业」· C++ 代码 · 共 50 行

CPP
50
字号
// AddCar.cpp : implementation file
//

#include "stdafx.h"
#include "order.h"
#include "AddCar.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// AddCar dialog


AddCar::AddCar(CWnd* pParent /*=NULL*/)
	: CDialog(AddCar::IDD, pParent)
{
	//{{AFX_DATA_INIT(AddCar)
	m_AddCarLocation = _T("");
	m_AddCarPrice = 0;
	m_AddCarRest = 0;
	m_AddCarTotal = 0;
	//}}AFX_DATA_INIT
}


void AddCar::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(AddCar)
	DDX_Text(pDX, IDC_AddCarLocation, m_AddCarLocation);
	DDX_Text(pDX, IDC_AddCarPrice, m_AddCarPrice);
	DDX_Text(pDX, IDC_AddCarRest, m_AddCarRest);
	DDX_Text(pDX, IDC_AddCarTotal, m_AddCarTotal);
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(AddCar, CDialog)
	//{{AFX_MSG_MAP(AddCar)
		// NOTE: the ClassWizard will add message map macros here
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// AddCar message handlers

⌨️ 快捷键说明

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