📄 montecarlodlg.cpp
字号:
// MonteCarloDlg.cpp : implementation file
//
#include "stdafx.h"
#include "myga.h"
#include "MonteCarloDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CMonteCarloDlg dialog
CMonteCarloDlg::CMonteCarloDlg(CWnd* pParent /*=NULL*/)
: CDialog(CMonteCarloDlg::IDD, pParent)
{
//{{AFX_DATA_INIT(CMonteCarloDlg)
m_iMuteType = -1;
m_lNumber = 0;
m_dSigmaCoe = 0.0;
m_dSigma0 = 0.0;
m_dSigmaMin = 0.0;
//}}AFX_DATA_INIT
}
void CMonteCarloDlg::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CMonteCarloDlg)
DDX_Radio(pDX, IDC_RADIO1, m_iMuteType);
DDX_Text(pDX, IDC_EDIT10, m_lNumber);
DDV_MinMaxLong(pDX, m_lNumber, 0, 100000000);
DDX_Text(pDX, IDC_EDIT15, m_dSigmaCoe);
DDX_Text(pDX, IDC_EDIT17, m_dSigma0);
DDX_Text(pDX, IDC_EDIT4, m_dSigmaMin);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CMonteCarloDlg, CDialog)
//{{AFX_MSG_MAP(CMonteCarloDlg)
// NOTE: the ClassWizard will add message map macros here
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CMonteCarloDlg message handlers
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -