pasdlg.cpp
来自「(1) 通过键盘输入某位学生某次作业的分数; (2) 给定学号」· C++ 代码 · 共 46 行
CPP
46 行
// PasDlg.cpp : implementation file
//
#include "stdafx.h"
#include "DATABASE.h"
#include "PasDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CPasDlg dialog
CPasDlg::CPasDlg(CWnd* pParent /*=NULL*/)
: CDialog(CPasDlg::IDD, pParent)
{
//{{AFX_DATA_INIT(CPasDlg)
m_pass = _T("");
m_name = _T("");
//}}AFX_DATA_INIT
}
void CPasDlg::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CPasDlg)
DDX_Text(pDX, IDC_PAS, m_pass);
DDX_Text(pDX, IDC_USER, m_name);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CPasDlg, CDialog)
//{{AFX_MSG_MAP(CPasDlg)
// NOTE: the ClassWizard will add message map macros here
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CPasDlg message handlers
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?