📄 adduserdialog.cpp
字号:
// AdduserDialog.cpp : implementation file
//
#include "stdafx.h"
#include "exa06.h"
#include "AdduserDialog.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CAdduserDialog dialog
CAdduserDialog::CAdduserDialog(CWnd* pParent /*=NULL*/)
: CDialog(CAdduserDialog::IDD, pParent)
{
//{{AFX_DATA_INIT(CAdduserDialog)
m_strAddName = _T("");
m_strAddPass = _T("");
m_strConfirmPass = _T("");
//}}AFX_DATA_INIT
}
void CAdduserDialog::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CAdduserDialog)
DDX_Text(pDX, IDC_NAME_EDIT, m_strAddName);
DDV_MaxChars(pDX, m_strAddName, 32);
DDX_Text(pDX, IDC_PASS_EDIT, m_strAddPass);
DDV_MaxChars(pDX, m_strAddPass, 32);
DDX_Text(pDX, IDC_PASSCONFIRM_EDIT, m_strConfirmPass);
DDV_MaxChars(pDX, m_strConfirmPass, 32);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CAdduserDialog, CDialog)
//{{AFX_MSG_MAP(CAdduserDialog)
// NOTE: the ClassWizard will add message map macros here
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CAdduserDialog message handlers
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -