www.pudn.com > dbnn.rar > StuDlg.cpp, change:2004-01-03,size:951b


// StuDlg.cpp : implementation file 
// 
 
#include "stdafx.h" 
#include "DBNN.h" 
#include "StuDlg.h" 
 
#ifdef _DEBUG 
#define new DEBUG_NEW 
#undef THIS_FILE 
static char THIS_FILE[] = __FILE__; 
#endif 
 
///////////////////////////////////////////////////////////////////////////// 
// CStuDlg dialog 
 
 
CStuDlg::CStuDlg(CWnd* pParent /*=NULL*/) 
	: CDialog(CStuDlg::IDD, pParent) 
{ 
	//{{AFX_DATA_INIT(CStuDlg) 
	m_tch = 0; 
	//}}AFX_DATA_INIT 
} 
 
 
void CStuDlg::DoDataExchange(CDataExchange* pDX) 
{ 
	CDialog::DoDataExchange(pDX); 
	//{{AFX_DATA_MAP(CStuDlg) 
	DDX_Text(pDX, IDC_TCH, m_tch); 
	//}}AFX_DATA_MAP 
} 
 
 
BEGIN_MESSAGE_MAP(CStuDlg, CDialog) 
	//{{AFX_MSG_MAP(CStuDlg) 
	//}}AFX_MSG_MAP 
END_MESSAGE_MAP() 
 
///////////////////////////////////////////////////////////////////////////// 
// CStuDlg message handlers 
 
void CStuDlg::OnOK()  
{ 
	// TODO: Add extra validation here 
	UpdateData(TRUE); 
	CDialog::OnOK(); 
}