📄 cptime.cpp
字号:
// cptime.cpp : implementation file
//
#include "stdafx.h"
#include "Ultrasonic.h"
#include "cptime.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// cptime dialog
cptime::cptime(CWnd* pParent /*=NULL*/)
: CDialog(cptime::IDD, pParent)
{
//{{AFX_DATA_INIT(cptime)
m_ll = 0;
m_tt = 0;
m_vv1 = 0;
m_vv2 = 0;
//}}AFX_DATA_INIT
}
void cptime::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(cptime)
DDX_Text(pDX, IDC_length, m_ll);
DDX_Text(pDX, IDC_time, m_tt);
DDX_Text(pDX, IDC_v1, m_vv1);
DDX_Text(pDX, IDC_v2, m_vv2);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(cptime, CDialog)
//{{AFX_MSG_MAP(cptime)
// NOTE: the ClassWizard will add message map macros here
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// cptime message handlers
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -