testpanel1.cpp

来自「上位机与下位机的USB通讯」· C++ 代码 · 共 83 行

CPP
83
字号
// TestPanel1.cpp : implementation file
//

#include "stdafx.h"
#include "testpanel.h"
#include "TestPanel1.h"

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

/////////////////////////////////////////////////////////////////////////////
// TestPanel dialog


TestPanel::TestPanel(CWnd* pParent /*=NULL*/)
	: CDialog(TestPanel::IDD, pParent)
{
	//{{AFX_DATA_INIT(TestPanel)
	m_Xguang = 0;
	m_Zguang = 0;
	//}}AFX_DATA_INIT
}


void TestPanel::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(TestPanel)
	DDX_Text(pDX, IDC_EDIT1, m_Xguang);
	DDV_MinMaxInt(pDX, m_Xguang, 0, 255);
	DDX_Text(pDX, IDC_EDIT5, m_Zguang);
	DDV_MinMaxInt(pDX, m_Zguang, 0, 255);
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(TestPanel, CDialog)
	//{{AFX_MSG_MAP(TestPanel)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// TestPanel message handlers

void TestPanel::OnRadio2() 
{
	// TODO: Add your control notification handler code here
	
}

void TestPanel::OnRadio3() 
{
	// TODO: Add your control notification handler code here
	
}

void TestPanel::OnRadio4() 
{
	// TODO: Add your control notification handler code here
	
}

void TestPanel::OnRadio5() 
{
	// TODO: Add your control notification handler code here
	
}

void TestPanel::OnRadio6() 
{
	// TODO: Add your control notification handler code here
	
}

void TestPanel::OnRadio7() 
{
	// TODO: Add your control notification handler code here
	
}

⌨️ 快捷键说明

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