studlg.cpp

来自「用ODBC接口访问access数据库管理系统」· C++ 代码 · 共 56 行

CPP
56
字号
// StuDlg.cpp : implementation file
//

#include "stdafx.h"
#include "Team2.h"
#include "Team2Dlg.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_stuid = _T("");
	m_courseid = _T("");
	m_result = _T("");
	//}}AFX_DATA_INIT
}


void CStuDlg::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CStuDlg)
	DDX_Text(pDX, IDC_STUID, m_stuid);
	DDX_Text(pDX, IDC_COURSEID, m_courseid);
	DDX_LBString(pDX, IDC_LIST1, m_result);
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CStuDlg, CDialog)
	//{{AFX_MSG_MAP(CStuDlg)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CStuDlg message handlers

void CStuDlg::OnCancel() 
{
	// TODO: Add extra cleanup here
	CDialog::OnCancel();
//	CTeam2Dlg m_team2;
//	m_team2.DoModal();
}

⌨️ 快捷键说明

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