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

📄 statistic.cpp

📁 一个在VC环境下写的很好的串口调试软件
💻 CPP
字号:
// Statistic.cpp : implementation file
//

#include "stdafx.h"
#include "CommWizard.h"
#include "Statistic.h"

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

/////////////////////////////////////////////////////////////////////////////
// CStatistic dialog


CStatistic::CStatistic(CWnd* pParent /*=NULL*/)
	: CDialog(CStatistic::IDD, pParent)
{
	//{{AFX_DATA_INIT(CStatistic)
	m_nCountShow = 0;
	//}}AFX_DATA_INIT
}


void CStatistic::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CStatistic)
	DDX_Text(pDX, IDC_STATISTICSHOW, m_nCountShow);
	//}}AFX_DATA_MAP
}


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

/////////////////////////////////////////////////////////////////////////////
// CStatistic message handlers

BOOL CStatistic::OnInitDialog() 
{
	CDialog::OnInitDialog();
	//m_nCountShow=0;
	// TODO: Add extra initialization here
	UpdateData(FALSE);
	return TRUE;  // return TRUE unless you set the focus to a control
	              // EXCEPTION: OCX Property Pages should return FALSE
}

void CStatistic::OnOK() 
{
	// TODO: Add extra validation here
	UpdateData(TRUE);

	UpdateData(FALSE);
	
	CDialog::OnOK();
}

⌨️ 快捷键说明

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