modification.cpp

来自「是一款车库模拟控制系统,可以实现对当前车库存车状态的实时描述.」· C++ 代码 · 共 55 行

CPP
55
字号
// Modification.cpp : implementation file
//

#include "stdafx.h"
#include "garage.h"
#include "Modification.h"

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

/////////////////////////////////////////////////////////////////////////////
// CModification dialog


CModification::CModification(CWnd* pParent /*=NULL*/)
	: CDialog(CModification::IDD, pParent)
{
	//{{AFX_DATA_INIT(CModification)
	m_chargeForSmall = 0;
	m_chargeForMiddle = 0;
	m_chargeForBig = 0;
	m_chargeForGood = 0;
	//}}AFX_DATA_INIT
}


void CModification::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CModification)
	DDX_Text(pDX, IDC_EDIT_CHARGE_SMALL, m_chargeForSmall);
	DDX_Text(pDX, IDC_EDIT_CHARGE_MIDDLE, m_chargeForMiddle);
	DDX_Text(pDX, IDC_EDIT_CHARGE_BIG, m_chargeForBig);
	DDX_Text(pDX, IDC_EDIT_CHARGE_GOOD, m_chargeForGood);
	//}}AFX_DATA_MAP
}


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

/////////////////////////////////////////////////////////////////////////////
// CModification message handlers

int CModification::DoModal() 
{
	return CDialog::DoModal();
}

⌨️ 快捷键说明

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