wpower.cpp

来自「基于WIN CE 的抄表系统,环境wince .net」· C++ 代码 · 共 52 行

CPP
52
字号
// WPower.cpp : implementation file
//

#include "stdafx.h"
#include "Cbsystem.h"
#include "WPower.h"

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

/////////////////////////////////////////////////////////////////////////////
// CWPower dialog


CWPower::CWPower(CWnd* pParent /*=NULL*/)
	: CDialog(CWPower::IDD, pParent)
{
	//{{AFX_DATA_INIT(CWPower)
	m_bh = _T("");
	m_name = _T("");
	m_id = _T("");
	m_power = _T("");
	m_powerold = _T("");
	//}}AFX_DATA_INIT
}


void CWPower::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CWPower)
	DDX_Text(pDX, IDC_EDIT1, m_bh);
	DDX_Text(pDX, IDC_EDIT2, m_name);
	DDX_Text(pDX, IDC_EDIT3, m_id);
	DDX_Text(pDX, IDC_EDIT5, m_power);
	DDX_Text(pDX, IDC_EDIT4, m_powerold);
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CWPower, CDialog)
	//{{AFX_MSG_MAP(CWPower)
		// NOTE: the ClassWizard will add message map macros here
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CWPower message handlers

⌨️ 快捷键说明

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