picture.cpp

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

CPP
56
字号
// Picture.cpp : implementation file
//

#include "stdafx.h"
#include "dabiao.h"
#include "Picture.h"

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

/////////////////////////////////////////////////////////////////////////////
// CPicture dialog


CPicture::CPicture(CWnd* pParent /*=NULL*/)
	: CDialog(CPicture::IDD, pParent)
{
	//{{AFX_DATA_INIT(CPicture)
	m_endy = 0;
	m_endx = 0;
	m_startx = 0;
	m_starty = 0;
	//}}AFX_DATA_INIT
}


void CPicture::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CPicture)
	DDX_Text(pDX, IDC_EY, m_endy);
	DDX_Text(pDX, IDC_EX, m_endx);
	DDX_Text(pDX, IDC_SX, m_startx);
	DDX_Text(pDX, IDC_SY, m_starty);
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CPicture, CDialog)
	//{{AFX_MSG_MAP(CPicture)
	ON_COMMAND(ID_TEST, OnTest)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CPicture message handlers

void CPicture::OnTest() 
{
	// TODO: Add your command handler code here
	
}

⌨️ 快捷键说明

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