setting.cpp

来自「串口 操作 源码 打标机的控制程序」· C++ 代码 · 共 52 行

CPP
52
字号
// Setting.cpp : implementation file
//

#include "stdafx.h"
#include "dabiao.h"
#include "Setting.h"

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

/////////////////////////////////////////////////////////////////////////////
// CSetting dialog


CSetting::CSetting(CWnd* pParent /*=NULL*/)
	: CDialog(CSetting::IDD, pParent)
{
	//{{AFX_DATA_INIT(CSetting)
	m_height = 0;
	m_dis = 0;
	m_pin = 0;
	m_speed = 0;
//	m_times = 0;
//	m_width = 0;
	//}}AFX_DATA_INIT
}


void CSetting::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CSetting)
	DDX_Text(pDX, IDC_high, m_height);
	DDX_Text(pDX, IDC_JULI, m_dis);
	DDX_Text(pDX, IDC_PIN, m_pin);
	DDX_Text(pDX, IDC_SPEED, m_speed);
	//}}AFX_DATA_MAP
}


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

/////////////////////////////////////////////////////////////////////////////
// CSetting message handlers

⌨️ 快捷键说明

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