myuser.cpp
来自「用jsp做的能够实现简单的短信息发送回复的短消息系统」· C++ 代码 · 共 48 行
CPP
48 行
// 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 + =
减小字号Ctrl + -
显示快捷键?