📄 matrixdig.cpp
字号:
// MatrixDig.cpp : implementation file
//
#include "stdafx.h"
#include "p09005435.h"
#include "MatrixDig.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CMatrixDig dialog
CMatrixDig::CMatrixDig(CWnd* pParent /*=NULL*/)
: CDialog(CMatrixDig::IDD, pParent)
{
//{{AFX_DATA_INIT(CMatrixDig)
m_Col = 4;
m_Row = 5;
//}}AFX_DATA_INIT
}
void CMatrixDig::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CMatrixDig)
DDX_Text(pDX, IDC_COL, m_Col);
DDV_MinMaxInt(pDX, m_Col, 1, 100);
DDX_Text(pDX, IDC_ROW, m_Row);
DDV_MinMaxInt(pDX, m_Row, 1, 100);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CMatrixDig, CDialog)
//{{AFX_MSG_MAP(CMatrixDig)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CMatrixDig message handlers
void CMatrixDig::OnOK()
{
CDialog::OnOK();
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -