www.pudn.com > SurfWareNew06.3.5(LYW).rar > EditSurfaceIsoCurve.cpp
// EditSurfaceIsoCurve.cpp : implementation file
//
#include "stdafx.h"
#include "surfware.h"
#include "EditSurfaceIsoCurve.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// EditSurfaceIsoCurve dialog
EditSurfaceIsoCurve::EditSurfaceIsoCurve(CWnd* pParent /*=NULL*/)
: CDialog(EditSurfaceIsoCurve::IDD, pParent)
{
//{{AFX_DATA_INIT(EditSurfaceIsoCurve)
// NOTE: the ClassWizard will add member initialization here
//}}AFX_DATA_INIT
n=0;
direction=0;
}
void EditSurfaceIsoCurve::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(EditSurfaceIsoCurve)
// NOTE: the ClassWizard will add DDX and DDV calls here
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(EditSurfaceIsoCurve, CDialog)
//{{AFX_MSG_MAP(EditSurfaceIsoCurve)
ON_BN_CLICKED(IDC_RADIO1, OnLeft)
ON_BN_CLICKED(IDC_RADIO2, OnRight)
ON_BN_CLICKED(IDC_RADIO3, OnBottom)
ON_BN_CLICKED(IDC_RADIO4, OnRoof)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// EditSurfaceIsoCurve message handlers
void EditSurfaceIsoCurve::OnLeft()
{
// TODO: Add your control notification handler code here
n=0;
direction=0;
}
void EditSurfaceIsoCurve::OnRight()
{
// TODO: Add your control notification handler code here
n=1;
direction=0;
}
void EditSurfaceIsoCurve::OnBottom()
{
// TODO: Add your control notification handler code here
n=1;
direction=1;
}
void EditSurfaceIsoCurve::OnRoof()
{
// TODO: Add your control notification handler code here
n=0;
direction=1;
}