statics.cpp

来自「geomorphological remote sensing classif」· C++ 代码 · 共 56 行

CPP
56
字号
// 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 + =
减小字号Ctrl + -
显示快捷键?