⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 userparadlg.cpp

📁 本程序使用Visual C++6.0编写
💻 CPP
字号:
// UserParaDlg.cpp : implementation file
//

#include "stdafx.h"
#include "sjsys.h"
#include "UserParaDlg.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CUserParaDlg dialog


CUserParaDlg::CUserParaDlg(CWnd* pParent /*=NULL*/)
	: CDialog(CUserParaDlg::IDD, pParent)
{
	//{{AFX_DATA_INIT(CUserParaDlg)
	m_name = _T("");
	m_cname = _T("");
	m_phone = _T("");
	m_email = _T("");
	//}}AFX_DATA_INIT
}


void CUserParaDlg::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CUserParaDlg)
	DDX_Control(pDX, IDCANCEL, m_cancel);
	DDX_Control(pDX, IDOK, m_OK);
	DDX_Text(pDX, IDC_EDIT2, m_name);
	DDX_Text(pDX, IDC_EDIT3, m_cname);
	DDX_Text(pDX, IDC_EDIT7, m_phone);
	DDX_Text(pDX, IDC_EDIT8, m_email);
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CUserParaDlg, CDialog)
	//{{AFX_MSG_MAP(CUserParaDlg)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CUserParaDlg message handlers

BOOL CUserParaDlg::OnInitDialog() 
{
	CDialog::OnInitDialog();
	
	// TODO: Add extra initialization here
	m_OK.SetShade(CShadeButtonST::SHS_HBUMP);
	m_cancel.SetShade(CShadeButtonST::SHS_HBUMP);
//	GetDlgItem(IDC_EDIT1)->EnableWindow(FALSE);
	return TRUE;  // return TRUE unless you set the focus to a control
	              // EXCEPTION: OCX Property Pages should return FALSE
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -