// OpArcSegDlg.cpp : implementation file // #include "stdafx.h" #include "femm.h" #include "cdrawDoc.h" #include "cd_OpArcSegDlg.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////////////////////////// // cdCOpArcSegDlg dialog cdCOpArcSegDlg::cdCOpArcSegDlg(CWnd* pParent /*=NULL*/) : CDialog(cdCOpArcSegDlg::IDD, pParent) { //{{AFX_DATA_INIT(cdCOpArcSegDlg) m_MaxSeg = 0.0; m_hide = FALSE; m_ingroup = 0; //}}AFX_DATA_INIT } void cdCOpArcSegDlg::DoDataExchange(CDataExchange* pDX) { CDialog::DoDataExchange(pDX); //{{AFX_DATA_MAP(cdCOpArcSegDlg) DDX_Control(pDX, IDC_CD_ARCSEG_COND, m_arcsegcond); DDX_Control(pDX, IDC_CD_ARCSEGBDRY2, m_ArcSegBdry); DDX_Text(pDX, IDC_CD_MAXSEG2, m_MaxSeg); DDX_Check(pDX, IDC_CD_ARCHIDE, m_hide); DDX_Text(pDX, IDC_CD_ARCGRP, m_ingroup); DDV_MinMaxDouble(pDX, m_MaxSeg, 1.e-002, 10.); //}}AFX_DATA_MAP DDX_Control(pDX, IDC_CD_ARCGRP, m_IDC_ingroup); DDX_Control(pDX, IDC_CD_MAXSEG2, m_IDC_MaxSeg); } BEGIN_MESSAGE_MAP(cdCOpArcSegDlg, CDialog) //{{AFX_MSG_MAP(cdCOpArcSegDlg) //}}AFX_MSG_MAP END_MESSAGE_MAP() ///////////////////////////////////////////////////////////////////////////// // cdCOpArcSegDlg message handlers BOOL cdCOpArcSegDlg::OnInitDialog() { CDialog::OnInitDialog(); // TODO: Add extra initialization here CArray &lineproplist=*plineproplist; int i; // TODO: Add extra initialization here m_ArcSegBdry.AddString(""); for(i=0;i &circproplist=*pcircproplist; m_arcsegcond.AddString(""); for(i=0;i