thesissel.cpp

来自「VC++编写的论文管理系统」· C++ 代码 · 共 57 行

CPP
57
字号
// ThesisSel.cpp : implementation file
//

#include "stdafx.h"
#include "qq.h"
#include "ThesisSel.h"

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

/////////////////////////////////////////////////////////////////////////////
// CThesisSel dialog


CThesisSel::CThesisSel(CWnd* pParent /*=NULL*/)
	: CDialog(CThesisSel::IDD, pParent)
{
	//{{AFX_DATA_INIT(CThesisSel)
		// NOTE: the ClassWizard will add member initialization here
	//}}AFX_DATA_INIT
}


void CThesisSel::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CThesisSel)
	DDX_Control(pDX, IDC_THESIS_EDIT, m_thesis);
	//}}AFX_DATA_MAP
}


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

/////////////////////////////////////////////////////////////////////////////
// CThesisSel message handlers

void CThesisSel::OnOK() 
{
	// TODO: Add extra validation here
	m_thesis.GetWindowText(strText);
	CDialog::OnOK();
}

void CThesisSel::OnCancel() 
{
	// TODO: Add extra cleanup here
	
	CDialog::OnCancel();
}

⌨️ 快捷键说明

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