www.pudn.com > lhwy_odbc2.zip > DeleteDialog.cpp, change:2002-10-09,size:1170b


// DeleteDialog.cpp : implementation file 
// 
 
#include "stdafx.h" 
#include "lhwy.h" 
#include "DeleteDialog.h" 
 
#ifdef _DEBUG 
#define new DEBUG_NEW 
#undef THIS_FILE 
static char THIS_FILE[] = __FILE__; 
#endif 
 
///////////////////////////////////////////////////////////////////////////// 
// CDeleteDialog dialog 
 
 
CDeleteDialog::CDeleteDialog(CWnd* pParent /*=NULL*/) 
	: CDialog(CDeleteDialog::IDD, pParent) 
{ 
	//{{AFX_DATA_INIT(CDeleteDialog) 
	m_Password = 0; 
	m_Xuehao = 0; 
	//}}AFX_DATA_INIT 
} 
 
 
void CDeleteDialog::DoDataExchange(CDataExchange* pDX) 
{ 
	CDialog::DoDataExchange(pDX); 
	//{{AFX_DATA_MAP(CDeleteDialog) 
	DDX_Control(pDX, IDOK, m_Ok); 
	DDX_Control(pDX, IDCANCEL, m_Cancel); 
	DDX_Text(pDX, IDC_PASSWORD, m_Password); 
	DDX_Text(pDX, IDC_XUEHAO, m_Xuehao); 
	//}}AFX_DATA_MAP 
} 
 
 
BEGIN_MESSAGE_MAP(CDeleteDialog, CDialog) 
	//{{AFX_MSG_MAP(CDeleteDialog) 
	//}}AFX_MSG_MAP 
END_MESSAGE_MAP() 
 
///////////////////////////////////////////////////////////////////////////// 
// CDeleteDialog message handlers 
 
void CDeleteDialog::OnOK()  
{ 
	// TODO: Add extra validation here 
	UpdateData(); 
	 
	CDialog::OnOK(); 
}