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

📄 resultdlg.cpp

📁 RFID温度签的源码
💻 CPP
字号:
// ResultDlg.cpp : 实现文件
//

#include "stdafx.h"
#include "TemperaturE.h"
#include "ResultDlg.h"


// CResultDlg 对话框

IMPLEMENT_DYNAMIC(CResultDlg, CDialog)

CResultDlg::CResultDlg(CWnd* pParent /*=NULL*/)
	: CDialog(CResultDlg::IDD, pParent)
{
	m_CardCount = 0;
}

CResultDlg::~CResultDlg()
{
}

void CResultDlg::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	DDX_Control(pDX, IDC_LIST2, m_list);
}


BEGIN_MESSAGE_MAP(CResultDlg, CDialog)
END_MESSAGE_MAP()


// CResultDlg 消息处理程序

BOOL CResultDlg::OnInitDialog()
{
	CDialog::OnInitDialog();

	CString str;
	if( theApp.m_Lang == 0 )
	{
		SetWindowText( _T("返回结果") );
		str.LoadString(IDS_STR_LIST_CARDID_CH);
	}
	else
	{
		str.LoadString(IDS_STR_LIST_CARDID);
	}

	m_list.InsertColumn( 0, str, LVCFMT_LEFT, 200 );

	for( int i=0; i<m_CardCount; i++ )
	{
		str.Format( _T("%d"), m_CardID[i] );
		m_list.InsertItem( i, str );
	}

	return TRUE;
}

⌨️ 快捷键说明

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