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