bynumber.cpp
来自「一个MFC编写的教学管理程序,可以实现成绩的输入和排序等,适合初学MFC者」· C++ 代码 · 共 52 行
CPP
52 行
// ByNumber.cpp : implementation file
//
#include "stdafx.h"
#include "教学系统.h"
#include "ByNumber.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// ByNumber dialog
ByNumber::ByNumber(CWnd* pParent /*=NULL*/)
: CDialog(ByNumber::IDD, pParent)
{
//{{AFX_DATA_INIT(ByNumber)
m5class = 0;
m5sub = 0;
//}}AFX_DATA_INIT
}
void ByNumber::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(ByNumber)
DDX_CBIndex(pDX, IDC_d5class, m5class);
DDX_CBIndex(pDX, IDC_d5sub, m5sub);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(ByNumber, CDialog)
//{{AFX_MSG_MAP(ByNumber)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// ByNumber message handlers
void ByNumber::OnOK()
{
// TODO: Add extra validation here
CDialog::OnOK();
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?