📄 coursequerynameget.cpp
字号:
// CourseQueryNameGet.cpp : implementation file
//
#include "stdafx.h"
#include "COdbc.h"
#include "CourseQueryNameGet.h"
#include "CourseQueryName.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CCourseQueryNameGet dialog
CCourseQueryNameGet::CCourseQueryNameGet(CCourseQueryName *dlg,CWnd* pParent /*=NULL*/)
: CDialog(CCourseQueryNameGet::IDD, pParent)
{
//{{AFX_DATA_INIT(CCourseQueryNameGet)
m_edit = _T("");
//}}AFX_DATA_INIT
m_dlg=dlg;
}
void CCourseQueryNameGet::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CCourseQueryNameGet)
DDX_Text(pDX, IDC_EDIT1, m_edit);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CCourseQueryNameGet, CDialog)
//{{AFX_MSG_MAP(CCourseQueryNameGet)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CCourseQueryNameGet message handlers
void CCourseQueryNameGet::OnOK()
{
// TODO: Add extra validation here
UpdateData(true);
m_dlg->GetName(m_edit);
CDialog::OnOK();
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -