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

📄 openbindlg.cpp

📁 c语言实现的遥感图像处理的一些基本操作
💻 CPP
字号:
// OpenBinDlg.cpp : implementation file
//

#include "stdafx.h"
#include "RSImageStar.h"
#include "OpenBinDlg.h"

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

/////////////////////////////////////////////////////////////////////////////
// COpenBinDlg dialog


COpenBinDlg::COpenBinDlg(CWnd* pParent /*=NULL*/)
	: CDialog(COpenBinDlg::IDD, pParent)
{
	//{{AFX_DATA_INIT(COpenBinDlg)
	m_width = 0;
	m_height = 0;
	m_nRed = 1;
	m_nGreen = 1;
	m_nBlue = 1;
	m_nCount = 0;
	m_radio = 0;
	//}}AFX_DATA_INIT
}


void COpenBinDlg::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(COpenBinDlg)
	DDX_Text(pDX, IDC_EDIT1, m_width);
	DDV_MinMaxInt(pDX, m_width, 0, 32676);
	DDX_Text(pDX, IDC_EDIT2, m_height);
	DDV_MinMaxInt(pDX, m_height, 0, 32676);
	DDX_Text(pDX, IDC_EDIT3, m_nRed);
	DDV_MinMaxInt(pDX, m_nRed, 1, 100);
	DDX_Text(pDX, IDC_EDIT4, m_nGreen);
	DDV_MinMaxInt(pDX, m_nGreen, 1, 100);
	DDX_Text(pDX, IDC_EDIT5, m_nBlue);
	DDV_MinMaxInt(pDX, m_nBlue, 1, 100);
	DDX_Text(pDX, IDC_EDIT6, m_nCount);
	DDV_MinMaxInt(pDX, m_nCount, 0, 600000000);
	DDX_Radio(pDX, IDC_RADIO1, m_radio);
	//}}AFX_DATA_MAP
}


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

/////////////////////////////////////////////////////////////////////////////
// COpenBinDlg message handlers

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

⌨️ 快捷键说明

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