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

📄 dplotdlg2.cpp

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

#include "stdafx.h"
#include "femmview.h"
#include "DPlotDlg2.h"

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

/////////////////////////////////////////////////////////////////////////////
// CDPlotDlg2 dialog


CDPlotDlg2::CDPlotDlg2(CWnd* pParent /*=NULL*/)
	: CDialog(CDPlotDlg2::IDD, pParent)
{
	//{{AFX_DATA_INIT(CDPlotDlg2)
	m_showit = FALSE;
	m_showlegend = FALSE;
	m_lb2 = 0.0;
	m_ub2 = 0.0;
	m_gscale = FALSE;
	//}}AFX_DATA_INIT
}


void CDPlotDlg2::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CDPlotDlg2)
	DDX_Check(pDX, IDC_SHOWIT, m_showit);
	DDX_Check(pDX, IDC_SHOW_LEG2, m_showlegend);
	DDX_Text(pDX, IDC_LB2, m_lb2);
	DDX_Text(pDX, IDC_UB2, m_ub2);
	DDX_Check(pDX, IDC_GSCALE2, m_gscale);
	//}}AFX_DATA_MAP
	DDX_Control(pDX, IDC_LB2, m_IDC_lb2);
	DDX_Control(pDX, IDC_UB2, m_IDC_ub2);
}


BEGIN_MESSAGE_MAP(CDPlotDlg2, CDialog)
	//{{AFX_MSG_MAP(CDPlotDlg2)
	ON_BN_CLICKED(IDC_RESBTN2, OnResbtn2)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CDPlotDlg2 message handlers

void CDPlotDlg2::OnResbtn2() 
{
	// TODO: Add your control notification handler code here
	m_ub2=Bm_h;
	m_lb2=Bm_l;
	UpdateData(FALSE);
}

⌨️ 快捷键说明

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