|
// DlgTestingParameters.cpp : implementation file
//
#include "stdafx.h"
#include "mnist.h"
#include "DlgTestingParameters.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CDlgTestingParameters dialog
CDlgTestingParameters::CDlgTestingParameters(CWnd* pParent /*=NULL*/)
: CDialog(CDlgTestingParameters::IDD, pParent)
{
//{{AFX_DATA_INIT(CDlgTestingParameters)
m_bDistortPatterns = FALSE;
m_iNumThreads = 0;
m_iStartingPattern = 0;
m_strStartingPatternNum = _T("");
m_iWhichImageSet = -1;
//}}AFX_DATA_INIT
}
void CDlgTestingParameters::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CDlgTestingParameters)
DDX_Check(pDX, IDC_CHECK_DISTORT_PATTERNS, m_bDistortPatterns);
DDX_Text(pDX, IDC_EDIT_NUM_TESTING_THREADS, m_iNumThreads);
DDV_MinMaxUInt(pDX, m_iNumThreads, 0, 50);
DDX_Text(pDX, IDC_EDIT_STARTING_PATTERN_NUM, m_iStartingPattern);
DDV_MinMaxUInt(pDX, m_iStartingPattern, 0, 9999);
DDX_Text(pDX, IDC_STATIC_STARTING_PATTERN_NUMBER, m_strStartingPatternNum);
DDX_Radio(pDX, IDC_RADIO_TRAINING_SET, m_iWhichImageSet);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CDlgTestingParameters, CDialog)
//{{AFX_MSG_MAP(CDlgTestingParameters)
// NOTE: the ClassWizard will add message map macros here
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CDlgTestingParameters message handlers
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.
A list of licenses authors might use can be found here
Mike O'Neill is a patent attorney in Southern California, where he specializes in computer and software-related patents. He programs as a hobby, and in a vain attempt to keep up with and understand the technology of his clients.