bendcontourdlg.cpp

来自「一个2D电磁场FEM计算的VC++源程序」· C++ 代码 · 共 40 行

CPP
40
字号
// BendContourDlg.cpp : implementation file
//

#include "stdafx.h"
#include "femmview.h"
#include "BendContourDlg.h"


// CBendContourDlg dialog

IMPLEMENT_DYNAMIC(CBendContourDlg, CDialog)
CBendContourDlg::CBendContourDlg(CWnd* pParent /*=NULL*/)
	: CDialog(CBendContourDlg::IDD, pParent)
	, m_angle(0)
	, m_anglestep(1)
{
}

CBendContourDlg::~CBendContourDlg()
{
}

void CBendContourDlg::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	DDX_Text(pDX, IDC_BENDANGLE, m_angle);
	DDV_MinMaxDouble(pDX, m_angle, -180, 180);
	DDX_Text(pDX, IDC_BENDSEGMENT, m_anglestep);
	DDV_MinMaxDouble(pDX, m_anglestep, 0, 180);
	DDX_Control(pDX, IDC_BENDANGLE, m_IDC_angle);
	DDX_Control(pDX, IDC_BENDSEGMENT, m_IDC_anglestep);
}


BEGIN_MESSAGE_MAP(CBendContourDlg, CDialog)
END_MESSAGE_MAP()


// CBendContourDlg message handlers

⌨️ 快捷键说明

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