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