gusucode.com > ADO操作access全过程和CListCtrl的用法C++源码程序 > ADO操作access全过程和CListCtrl的用法/tele/Test1.cpp
// Test1.cpp : implementation file // #include "stdafx.h" #include "Tele.h" #include "Test1.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////////////////////////// // Test dialog Test::Test(CWnd* pParent /*=NULL*/) : CDialog(Test::IDD, pParent) { //{{AFX_DATA_INIT(Test) m_1 = _T(""); m_2 = _T(""); m_3 = _T(""); //}}AFX_DATA_INIT } void Test::DoDataExchange(CDataExchange* pDX) { CDialog::DoDataExchange(pDX); //{{AFX_DATA_MAP(Test) DDX_Text(pDX, IDC_EDIT1, m_1); DDX_Text(pDX, IDC_EDIT2, m_2); DDX_Text(pDX, IDC_EDIT3, m_3); //}}AFX_DATA_MAP } BEGIN_MESSAGE_MAP(Test, CDialog) //{{AFX_MSG_MAP(Test) // NOTE: the ClassWizard will add message map macros here //}}AFX_MSG_MAP END_MESSAGE_MAP() ///////////////////////////////////////////////////////////////////////////// // Test message handlers