📄 statics.cpp
字号:
// Statics.cpp : implementation file
//
#include "stdafx.h"
#include "ShowDIB.h"
#include "Statics.h"
#include "Dialog3.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CStatics dialog
CStatics::CStatics(CWnd* pParent /*=NULL*/)
: CDialog(CStatics::IDD, pParent)
{
//{{AFX_DATA_INIT(CStatics)
m_min = _T("");
m_max = _T("");
m_average = _T("");
//}}AFX_DATA_INIT
}
void CStatics::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CStatics)
DDX_Text(pDX, IDC_MIN, m_min);
DDX_Text(pDX, IDC_MAX, m_max);
DDX_Text(pDX, IDC_AVERAGE, m_average);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CStatics, CDialog)
//{{AFX_MSG_MAP(CStatics)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CStatics message handlers
void CStatics::OnOK()
{ CDialog3 dig;
dig.his=his;
dig.DoModal();
// TODO: Add extra validation here
//UpdateData();
CDialog::OnOK();
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -