📄 setsize.cpp
字号:
// SetSize.cpp : implementation file
//
#include "stdafx.h"
#include "MFC挖雷.h"
#include "SetSize.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CSetSize dialog
CSetSize::CSetSize(CWnd* pParent /*=NULL*/)
: CDialog(CSetSize::IDD, pParent)
{
//{{AFX_DATA_INIT(CSetSize)
m_col = 0;
m_count = 0;
m_row = 0;
//}}AFX_DATA_INIT
}
void CSetSize::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CSetSize)
DDX_Text(pDX, IDC_COL, m_col);
DDV_MinMaxUInt(pDX, m_col, 1, 100);
DDX_Text(pDX, IDC_COUNT, m_count);
DDV_MinMaxUInt(pDX, m_count, 1, 100);
DDX_Text(pDX, IDC_ROW, m_row);
DDV_MinMaxUInt(pDX, m_row, 1, 100);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CSetSize, CDialog)
//{{AFX_MSG_MAP(CSetSize)
// NOTE: the ClassWizard will add message map macros here
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CSetSize message handlers
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -