📄 resetdlg.cpp
字号:
// ResetDlg.cpp : implementation file
//
#include "stdafx.h"
#include "Kmean.h"
#include "ResetDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CResetDlg dialog
CResetDlg::CResetDlg(CWnd* pParent /*=NULL*/)
: CDialog(CResetDlg::IDD, pParent)
{
//{{AFX_DATA_INIT(CResetDlg)
m_nCenterNum = 3;
m_dbRate = 0.05;
//}}AFX_DATA_INIT
}
void CResetDlg::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CResetDlg)
DDX_Text(pDX, IDC_CENTERS_NUM, m_nCenterNum);
DDV_MinMaxInt(pDX, m_nCenterNum, 1, 15);
DDX_Text(pDX, IDC_RATE, m_dbRate);
DDV_MinMaxDouble(pDX, m_dbRate, 0., 1.);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CResetDlg, CDialog)
//{{AFX_MSG_MAP(CResetDlg)
// NOTE: the ClassWizard will add message map macros here
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CResetDlg message handlers
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -