Wuizhi2.cpp
资源名称:txpj.rar [点击查看]
上传用户:pureled
上传日期:2013-05-27
资源大小:1078k
文件大小:1k
源码类别:
GDI/图象编程
开发平台:
Visual C++
- // Wuizhi2.cpp : implementation file
- //
- #include "stdafx.h"
- #include "图像拼接技术.h"
- #include "Wuizhi2.h"
- #ifdef _DEBUG
- #define new DEBUG_NEW
- #undef THIS_FILE
- static char THIS_FILE[] = __FILE__;
- #endif
- /////////////////////////////////////////////////////////////////////////////
- // Wuizhi2 dialog
- Wuizhi2::Wuizhi2(CWnd* pParent /*=NULL*/)
- : CDialog(Wuizhi2::IDD, pParent)
- {
- //{{AFX_DATA_INIT(Wuizhi2)
- match2_x = 0;
- match2_y = 0;
- angle = 0.0f;
- //}}AFX_DATA_INIT
- }
- void Wuizhi2::DoDataExchange(CDataExchange* pDX)
- {
- CDialog::DoDataExchange(pDX);
- //{{AFX_DATA_MAP(Wuizhi2)
- DDX_Text(pDX, IDC_SUANFA2_X, match2_x);
- DDV_MinMaxInt(pDX, match2_x, 0, 600);
- DDX_Text(pDX, IDC_SUANFA2_Y, match2_y);
- DDV_MinMaxInt(pDX, match2_y, 0, 600);
- DDX_Text(pDX, IDC_SUANFA2_Z, angle);
- DDV_MinMaxFloat(pDX, angle, 0.f, 90.f);
- //}}AFX_DATA_MAP
- }
- BEGIN_MESSAGE_MAP(Wuizhi2, CDialog)
- //{{AFX_MSG_MAP(Wuizhi2)
- //}}AFX_MSG_MAP
- END_MESSAGE_MAP()
- /////////////////////////////////////////////////////////////////////////////
- // Wuizhi2 message handlers
- BOOL Wuizhi2::OnInitDialog()
- {
- CDialog::OnInitDialog();
- // TODO: Add extra initialization here
- UpdateData(FALSE);
- return TRUE; // return TRUE unless you set the focus to a control
- // EXCEPTION: OCX Property Pages should return FALSE
- }
- void Wuizhi2::OnOK()
- {
- // TODO: Add extra validation here
- UpdateData(TRUE);
- CDialog::OnOK();
- }