getendlg.cpp

来自「停车场仿真程序仿真原理:首先有两个定时器自动的随机产生请求入场的卡号和请求出场的」· C++ 代码 · 共 48 行

CPP
48 行
字号
// GetENDlg.cpp : implementation file
//

#include "stdafx.h"
#include "FJ.h"
#include "GetENDlg.h"

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

/////////////////////////////////////////////////////////////////////////////
// CGetENDlg dialog


CGetENDlg::CGetENDlg(CWnd* pParent /*=NULL*/)
	: CDialog(CGetENDlg::IDD, pParent)
{
	//{{AFX_DATA_INIT(CGetENDlg)
	m_intE = 0;
	m_intN = 0;
	//}}AFX_DATA_INIT
}


void CGetENDlg::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CGetENDlg)
	DDX_Text(pDX, IDC_EDIT_E, m_intE);
	DDV_MinMaxUInt(pDX, m_intE, 1, 80);
	DDX_Text(pDX, IDC_EDIT_N, m_intN);
	DDV_MinMaxUInt(pDX, m_intN, 1, 50);
	//}}AFX_DATA_MAP
}


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

/////////////////////////////////////////////////////////////////////////////
// CGetENDlg message handlers

⌨️ 快捷键说明

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