?? dlgstat.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 + -