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

📄 dlgstat.cpp

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

#include "stdafx.h"
#include "Temperature.h"
#include "DlgStat.h"


// CDlgStat 对话框

IMPLEMENT_DYNAMIC(CDlgStat, CDialog)

CDlgStat::CDlgStat(CWnd* pParent /*=NULL*/)
	: CDialog(CDlgStat::IDD, pParent)
	, m_str1(_T(""))
	, m_str2(_T(""))
	, m_str3(_T(""))
	, m_str4(_T(""))
	, m_str5(_T(""))
	, m_str6(_T(""))
	, m_str7(_T(""))
{

}

CDlgStat::~CDlgStat()
{
}

void CDlgStat::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	DDX_Text(pDX, IDC_EDIT1, m_str1);
	DDX_Text(pDX, IDC_EDIT2, m_str2);
	DDX_Text(pDX, IDC_EDIT3, m_str3);
	DDX_Text(pDX, IDC_EDIT4, m_str4);
	DDX_Text(pDX, IDC_EDIT5, m_str5);
	DDX_Text(pDX, IDC_EDIT6, m_str6);
	DDX_Text(pDX, IDC_EDIT6, m_str7);
}


BEGIN_MESSAGE_MAP(CDlgStat, CDialog)
END_MESSAGE_MAP()


// CDlgStat 消息处理程序

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

	if( theApp.m_Lang == 0 )
	{
		SetWindowText( _T("统计") );

		CString str;

		str.LoadString( IDS_STR_LIST_CARDID_CH );
		GetDlgItem( IDC_STATIC1 )->SetWindowText( str );

		str.LoadString( IDS_STR_PRODUCT_CH );
		GetDlgItem( IDC_STATIC2 )->SetWindowText( str );

		str.LoadString( IDS_STR_MANUFACTURE_CH );
		GetDlgItem( IDC_STATIC3 )->SetWindowText( str );

		str.LoadString( IDS_STR_GROUP_CH );
		GetDlgItem( IDC_STATIC4 )->SetWindowText( str );

		str.LoadString( IDS_STR_DIALOG_HISTORY_HT );
		GetDlgItem( IDC_STATIC5 )->SetWindowText( str );

		str.LoadString( IDS_STR_DIALOG_HISTORY_HT );
		GetDlgItem( IDC_STATIC6 )->SetWindowText( str );

		str.LoadString( IDS_STR_DIALOG_HISTORY_AT );
		GetDlgItem( IDC_STATIC7 )->SetWindowText( str );
	}

	return TRUE;  // return TRUE unless you set the focus to a control
	// 异常: OCX 属性页应返回 FALSE
}

⌨️ 快捷键说明

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