dlgteacherinfo.cpp

来自「大学班务管理系统」· C++ 代码 · 共 67 行

CPP
67
字号
// Dlgteacherinfo.cpp : implementation file
//

#include "stdafx.h"
#include "教学管理信息系统.h"
#include "Dlgteacherinfo.h"
//#include "PassDlg.h"
#include "Mysheet.h"
#include "Public.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CDlgteacherinfo dialog


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


void CDlgteacherinfo::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CDlgteacherinfo)
		// NOTE: the ClassWizard will add DDX and DDV calls here
	//}}AFX_DATA_MAP
}


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

/////////////////////////////////////////////////////////////////////////////
// CDlgteacherinfo message handlers

BOOL CDlgteacherinfo::OnInitDialog() 
{
	CDialog::OnInitDialog();
	
	// TODO: Add extra initialization here
	

	return TRUE;  // return TRUE unless you set the focus to a control
	              // EXCEPTION: OCX Property Pages should return FALSE
}

BOOL CDlgteacherinfo::PreTranslateMessage(MSG* pMsg) 
{
	// TODO: Add your specialized code here and/or call the base class
	if(pMsg->message==0x100 && pMsg->wParam==13)//屏住ENTER
	{
				return TRUE;
	}
	return CDialog::PreTranslateMessage(pMsg);
}

⌨️ 快捷键说明

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