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

📄 cplotdlg2.cpp

📁 一个2D电磁场FEM计算的VC++源程序
💻 CPP
字号:
// CplotDlg2.cpp : implementation file
//

#include "stdafx.h"
#include "femmview.h"
#include "CplotDlg2.h"

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

/////////////////////////////////////////////////////////////////////////////
// CCplotDlg2 dialog


CCplotDlg2::CCplotDlg2(CWnd* pParent /*=NULL*/)
	: CDialog(CCplotDlg2::IDD, pParent)
{
	//{{AFX_DATA_INIT(CCplotDlg2)
	m_numcontours = 0;
	m_showa = FALSE;
	m_ahigh = 0.0;
	m_alow = 0.0;
	m_showmask = FALSE;
	//}}AFX_DATA_INIT
}


void CCplotDlg2::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CCplotDlg2)
	DDX_Text(pDX, IDC_NUMCONTOURS, m_numcontours);
	DDV_MinMaxInt(pDX, m_numcontours, 4, 999);
	DDX_Check(pDX, IDC_SHOW_A, m_showa);
	DDX_Text(pDX, IDC_AHIGH, m_ahigh);
	DDX_Text(pDX, IDC_ALOW, m_alow);
	DDX_Check(pDX, IDC_SHOW_MASK2, m_showmask);
	//}}AFX_DATA_MAP
	DDX_Control(pDX, IDC_NUMCONTOURS, m_IDC_numcontours);
	DDX_Control(pDX, IDC_AHIGH, m_IDC_ahigh);
	DDX_Control(pDX, IDC_ALOW, m_IDC_alow);
}


BEGIN_MESSAGE_MAP(CCplotDlg2, CDialog)
	//{{AFX_MSG_MAP(CCplotDlg2)
	ON_BN_CLICKED(IDC_DFLT1, OnDflt1)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CCplotDlg2 message handlers

void CCplotDlg2::OnDflt1() 
{
	// TODO: Add your control notification handler code here
	UpdateData(TRUE);
	m_alow=Alb;
	m_ahigh=Aub;
	m_numcontours=19;
	UpdateData(FALSE);
}

⌨️ 快捷键说明

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