faildlg.cpp

来自「一个MFC编写的教学管理程序,可以实现成绩的输入和排序等,适合初学MFC者」· C++ 代码 · 共 56 行

CPP
56
字号
// FailDlg.cpp : implementation file
//
//#include "教学系统View.h"





#include "stdafx.h"
#include "教学系统.h"
#include "FailDlg.h"

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

/////////////////////////////////////////////////////////////////////////////
// FailDlg dialog


FailDlg::FailDlg(CWnd* pParent /*=NULL*/)
	: CDialog(FailDlg::IDD, pParent)
{
	//{{AFX_DATA_INIT(FailDlg)
	m_class = 0;
	test=0;
	//}}AFX_DATA_INIT
}


void FailDlg::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(FailDlg)
	DDX_CBIndex(pDX, IDC_COMBO1, m_class);
	//}}AFX_DATA_MAP
}


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

/////////////////////////////////////////////////////////////////////////////
// FailDlg message handlers

void FailDlg::OnOK() 
{	
	CDialog::OnOK();
	test=1;
//	CMyView::fail(*this)
}

⌨️ 快捷键说明

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