📄 threadsdialog.cpp
字号:
// THREADSDIALOG.cpp : implementation file
//
#include <afxwin.h>
//#include "stdafx.h"
#include "clibench.h"
#include "THREADSDIALOG.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// THREADSDIALOG dialog
THREADSDIALOG::THREADSDIALOG(CWnd* pParent /*=NULL*/)
: CDialog(THREADSDIALOG::IDD, pParent)
{
//{{AFX_DATA_INIT(THREADSDIALOG)
//}}AFX_DATA_INIT
}
void THREADSDIALOG::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(THREADSDIALOG)
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(THREADSDIALOG, CDialog)
//{{AFX_MSG_MAP(THREADSDIALOG)
ON_EN_CHANGE(IDC_EDIT1, OnNOfThreads)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// THREADSDIALOG message handlers
void THREADSDIALOG::OnOK()
{
// TODO: Add extra validation here
UpdateData(TRUE);
nOfThreads=m_noft;
CDialog::OnOK();
}
void THREADSDIALOG::OnCancel()
{
// TODO: Add extra cleanup here
CDialog::OnCancel();
}
void THREADSDIALOG::OnNOfThreads()
{
// TODO: If this is a RICHEDIT control, the control will not
// send this notification unless you override the CDialog::OnInitDialog()
// function to send the EM_SETEVENTMASK message to the control
// with the ENM_CHANGE flag ORed into the lParam mask.
// TODO: Add your control notification handler code here
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -