⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 getstuinfo.cpp

📁 對話方塊
💻 CPP
字号:
// GetStuInfo.cpp : implementation file
//

#include "stdafx.h"
#include "Ex10d.h"
#include "GetStuInfo.h"

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

/////////////////////////////////////////////////////////////////////////////
// CGetStuInfo dialog


CGetStuInfo::CGetStuInfo(CWnd* pParent /*=NULL*/)
	: CDialog(CGetStuInfo::IDD, pParent)
{
	//{{AFX_DATA_INIT(CGetStuInfo)
	m_age = 0;
	m_tuitionPaid = FALSE;
	m_gender = -1;
	m_name = _T("");
	m_stuStatus = -1;
	//}}AFX_DATA_INIT
}


void CGetStuInfo::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CGetStuInfo)
	DDX_Text(pDX, IDC_AGE, m_age);
	DDV_MinMaxInt(pDX, m_age, 16, 99);
	DDX_Check(pDX, IDC_CHK_TUITIONPAID, m_tuitionPaid);
	DDX_Radio(pDX, IDC_MALE, m_gender);
	DDX_Text(pDX, IDC_NAME, m_name);
	DDX_Radio(pDX, IDC_STAT_UNDERGRAD, m_stuStatus);
	//}}AFX_DATA_MAP
}


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

/////////////////////////////////////////////////////////////////////////////
// CGetStuInfo message handlers

⌨️ 快捷键说明

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