📄 motorcar.cpp
字号:
// motorcar.cpp : implementation file
//
#include "stdafx.h"
#include "order.h"
#include "motorcar.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// motorcar dialog
motorcar::motorcar(CWnd* pParent /*=NULL*/)
: CDialog(motorcar::IDD, pParent)
{
//{{AFX_DATA_INIT(motorcar)
m_carlocation = _T("");
m_carprice = 0;
m_restcar = 0;
m_totalcar = 0;
//}}AFX_DATA_INIT
}
void motorcar::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(motorcar)
DDX_Text(pDX, IDC_carlocation, m_carlocation);
DDX_Text(pDX, IDC_carprice, m_carprice);
DDX_Text(pDX, IDC_restcar, m_restcar);
DDX_Text(pDX, IDC_totalcar, m_totalcar);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(motorcar, CDialog)
//{{AFX_MSG_MAP(motorcar)
// NOTE: the ClassWizard will add message map macros here
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// motorcar message handlers
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -