⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 dialog1.cpp

📁 对于转台控制系统中的精测误差分析与补偿算法
💻 CPP
字号:
// Dialog1.cpp : implementation file
//

#include "stdafx.h"
#include "test23.h"
#include "Dialog1.h"

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

/////////////////////////////////////////////////////////////////////////////
// CDialog1 dialog


CDialog1::CDialog1(CWnd* pParent /*=NULL*/)
	: CDialog(CDialog1::IDD, pParent)
{
	//{{AFX_DATA_INIT(CDialog1)
	m_edit1 = 0.0f;
	m_edit10 = 0.0f;
	m_edit11 = 0.0f;
	m_edit12 = 0.0f;
	m_edit13 = 0.0f;
	m_edit14 = 0.0f;
	m_edit15 = 0.0f;
	m_edit16 = 0.0f;
	m_edit17 = 0.0f;
	m_edit18 = 0.0f;
	m_edit19 = 0.0f;
	m_edit2 = 0.0f;
	m_edit20 = 0.0f;
	m_edit21 = 0.0f;
	m_edit22 = 0.0f;
	m_edit23 = 0.0f;
	m_edit3 = 0.0f;
	m_edit4 = 0.0f;
	m_edit5 = 0.0f;
	m_edit6 = 0.0f;
	m_edit7 = 0.0f;
	m_edit8 = 0.0f;
	m_edit9 = 0.0f;
	//}}AFX_DATA_INIT
}


void CDialog1::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CDialog1)
	DDX_Text(pDX, IDC_EDIT1, m_edit1);
	DDX_Text(pDX, IDC_EDIT10, m_edit10);
	DDX_Text(pDX, IDC_EDIT11, m_edit11);
	DDX_Text(pDX, IDC_EDIT12, m_edit12);
	DDX_Text(pDX, IDC_EDIT13, m_edit13);
	DDX_Text(pDX, IDC_EDIT14, m_edit14);
	DDX_Text(pDX, IDC_EDIT15, m_edit15);
	DDX_Text(pDX, IDC_EDIT16, m_edit16);
	DDX_Text(pDX, IDC_EDIT17, m_edit17);
	DDX_Text(pDX, IDC_EDIT18, m_edit18);
	DDX_Text(pDX, IDC_EDIT19, m_edit19);
	DDX_Text(pDX, IDC_EDIT2, m_edit2);
	DDX_Text(pDX, IDC_EDIT20, m_edit20);
	DDX_Text(pDX, IDC_EDIT21, m_edit21);
	DDX_Text(pDX, IDC_EDIT22, m_edit22);
	DDX_Text(pDX, IDC_EDIT23, m_edit23);
	DDX_Text(pDX, IDC_EDIT3, m_edit3);
	DDX_Text(pDX, IDC_EDIT4, m_edit4);
	DDX_Text(pDX, IDC_EDIT5, m_edit5);
	DDX_Text(pDX, IDC_EDIT6, m_edit6);
	DDX_Text(pDX, IDC_EDIT7, m_edit7);
	DDX_Text(pDX, IDC_EDIT8, m_edit8);
	DDX_Text(pDX, IDC_EDIT9, m_edit9);
	//}}AFX_DATA_MAP
}


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

/////////////////////////////////////////////////////////////////////////////
// CDialog1 message handlers

void CDialog1::OnOK() 
{
	// TODO: Add extra validation here
	UpdateData(TRUE);
	MessageBox("棱面误差值修改后在程序运行期间将为修改后的值,重新运行程序后棱面误差值为程序中的预设值!");
	CDialog::OnOK();
}

⌨️ 快捷键说明

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