www.gusucode.com > VC++编写的SQL服务端和客户端源码程序 > VC++编写的SQL服务端和客户端源码程序\code\Server\CodeDlg.cpp

    //Download by http://www.NewXing.com
// CodeDlg.cpp : implementation file
//

#include "stdafx.h"
#include "miniSQL.h"
#include "CodeDlg.h"

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

/////////////////////////////////////////////////////////////////////////////
// CCodeDlg dialog


CCodeDlg::CCodeDlg(CWnd* pParent /*=NULL*/)
	: CDialog(CCodeDlg::IDD, pParent)
{
	//{{AFX_DATA_INIT(CCodeDlg)
	m_newcode = _T("");
	m_oldcode = _T("");
	m_recode = _T("");
	//}}AFX_DATA_INIT
}


void CCodeDlg::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CCodeDlg)
	DDX_Text(pDX, IDC_NEWCODE, m_newcode);
	DDV_MaxChars(pDX, m_newcode, 16);
	DDX_Text(pDX, IDC_OLDCODE, m_oldcode);
	DDV_MaxChars(pDX, m_oldcode, 16);
	DDX_Text(pDX, IDC_RECODE, m_recode);
	DDV_MaxChars(pDX, m_recode, 16);
	//}}AFX_DATA_MAP
}


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

/////////////////////////////////////////////////////////////////////////////
// CCodeDlg message handlers