// GapIntegral.cpp : implementation file // #include "stdafx.h" #include "femm.h" #include "problem.h" #include "XYPlot.h" #include "femmviewdoc.h" #include "GapIntegral.h" // GapIntegral dialog IMPLEMENT_DYNAMIC(GapIntegral, CDialog) GapIntegral::GapIntegral(CWnd* pParent /*=NULL*/) : CDialog(GapIntegral::IDD, pParent) { } GapIntegral::~GapIntegral() { } void GapIntegral::DoDataExchange(CDataExchange* pDX) { CDialog::DoDataExchange(pDX); DDX_Control(pDX, IDC_AGENAME, m_AGEname); DDX_Control(pDX, IDC_GAPINTTYPE, m_IntType); } BEGIN_MESSAGE_MAP(GapIntegral, CDialog) //{{AFX_MSG_MAP(GapIntegral) //}}AFX_MSG_MAP END_MESSAGE_MAP() // GapIntegral message handlers BOOL GapIntegral::OnInitDialog() { CDialog::OnInitDialog(); // TODO: Add extra initialization here CArray &agelist=*pagelist; int i; // TODO: Add extra initialization here for(i=0;i &agelist=*pagelist; BdryName=agelist[m_AGEname.GetCurSel()].BdryName; if (bIncremental==FALSE) { myIntType=m_IntType.GetCurSel(); } else{ myIntType=m_IntType.GetCurSel() + 3; } CDialog::OnOK(); }