correctinformation.cpp
来自「这个课程设计创建了在磁盘上存储某单位所有职工基本信息的系统。实现了添加」· C++ 代码 · 共 50 行
CPP
50 行
// CorrectInformation.cpp : implementation file
//
#include "stdafx.h"
#include "p51_03_4.h"
#include "CorrectInformation.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CCorrectInformation dialog
CCorrectInformation::CCorrectInformation(CWnd* pParent /*=NULL*/)
: CDialog(CCorrectInformation::IDD, pParent)
{
//{{AFX_DATA_INIT(CCorrectInformation)
m_degree = _T("");
m_marry = -1;
m_post = _T("");
m_wage = 0.0f;
//}}AFX_DATA_INIT
}
void CCorrectInformation::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CCorrectInformation)
DDX_Text(pDX, IDC_CORRECT_DEGREE, m_degree);
DDX_Radio(pDX, IDC_CORRECT_MARRY, m_marry);
DDX_Text(pDX, IDC_CORRECT_POST, m_post);
DDX_Text(pDX, IDC_CORRECT_WAGE, m_wage);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CCorrectInformation, CDialog)
//{{AFX_MSG_MAP(CCorrectInformation)
// NOTE: the ClassWizard will add message map macros here
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CCorrectInformation message handlers
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?