numset.cpp
来自「用Visual C++开发的图形化圆周率Pi计算程序」· C++ 代码 · 共 46 行
CPP
46 行
// NumSet.cpp : implementation file
//
#include "stdafx.h"
#include "Pi.h"
#include "NumSet.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CNumSet dialog
CNumSet::CNumSet(CWnd* pParent /*=NULL*/)
: CDialog(CNumSet::IDD, pParent)
{
//{{AFX_DATA_INIT(CNumSet)
m_Number = 0;
m_Method =_T("Gauss公式");
//}}AFX_DATA_INIT
}
void CNumSet::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CNumSet)
DDX_Text(pDX, IDC_NUMBER, m_Number);
DDX_CBString(pDX, IDC_METHOD, m_Method);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CNumSet, CDialog)
//{{AFX_MSG_MAP(CNumSet)
// NOTE: the ClassWizard will add message map macros here
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CNumSet message handlers
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?