test.cpp
来自「颜色预测模型评估,印刷品质量检测技术,实现光谱分析」· C++ 代码 · 共 50 行
CPP
50 行
// Test.cpp : implementation file
//
#include "stdafx.h"
#include "Printing.h"
#include "Test.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CTest dialog
CTest::CTest(CWnd* pParent /*=NULL*/)
: CDialog(CTest::IDD, pParent)
{
//{{AFX_DATA_INIT(CTest)
m_Averageerror = 0.0f;
m_Maxerror = 0.0f;
m_Percent = 0.0f;
m_Result = _T("");
//}}AFX_DATA_INIT
}
void CTest::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CTest)
DDX_Text(pDX, IDC_AVERAGEERROR, m_Averageerror);
DDX_Text(pDX, IDC_MAXERROR, m_Maxerror);
DDX_Text(pDX, IDC_PERCENT, m_Percent);
DDX_Text(pDX, IDC_RESULT, m_Result);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CTest, CDialog)
//{{AFX_MSG_MAP(CTest)
// NOTE: the ClassWizard will add message map macros here
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CTest message handlers
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?