📄 p_name.cpp
字号:
// P_name.cpp : implementation file
//
#include "stdafx.h"
#include "renzhe2.h"
#include "P_name.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// P_name dialog
P_name::P_name(CWnd* pParent /*=NULL*/)
: CDialog(P_name::IDD, pParent)
{
//{{AFX_DATA_INIT(P_name)
m_personname = _T("");
//}}AFX_DATA_INIT
}
void P_name::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(P_name)
DDX_Text(pDX, IDC_EDITName, m_personname);
DDV_MaxChars(pDX, m_personname, 20);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(P_name, CDialog)
//{{AFX_MSG_MAP(P_name)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// P_name message handlers
BOOL P_name::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
}
int P_name::DoModal()
{
// TODO: Add your specialized code here and/or call the base class
return CDialog::DoModal();
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -