whichtypedlg.cpp

来自「数据结构链表的演示程序」· C++ 代码 · 共 49 行

CPP
49
字号
// WhichTypeDlg.cpp : implementation file
//

#include "stdafx.h"
#include "LandSoft.h"
#include "WhichTypeDlg.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CWhichTypeDlg dialog


CWhichTypeDlg::CWhichTypeDlg(CWnd* pParent,CString types,BYTE typenum)
	: CDialog(CWhichTypeDlg::IDD, pParent)
{
	m_nTypeNum=typenum;

	//{{AFX_DATA_INIT(CWhichTypeDlg)
	m_strTypes = types;
	m_nWhichType = 1;
	//}}AFX_DATA_INIT
}


void CWhichTypeDlg::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CWhichTypeDlg)
	DDX_Text(pDX, IDC_EDIT_TYPES, m_strTypes);
	DDX_Text(pDX, IDC_EDIT_WHICHTYPE, m_nWhichType);
	DDV_MinMaxByte(pDX, m_nWhichType, 1, m_nTypeNum);
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CWhichTypeDlg, CDialog)
	//{{AFX_MSG_MAP(CWhichTypeDlg)
		// NOTE: the ClassWizard will add message map macros here
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CWhichTypeDlg message handlers

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?