// DialogPhysicalInput.cpp : 实现文件 // #include "stdafx.h" #include "DIOS_3DDR_MechCal.h" #include "DialogPhysicalInput.h" #include "afxdialogex.h" // CDialogPhysicalInput 对话框 IMPLEMENT_DYNAMIC(CDialogPhysicalInput, CDialogEx) CDialogPhysicalInput::CDialogPhysicalInput(CWnd* pParent /*=NULL*/) : CDialogEx(CDialogPhysicalInput::IDD, pParent) { } CDialogPhysicalInput::~CDialogPhysicalInput() { } void CDialogPhysicalInput::DoDataExchange(CDataExchange* pDX) { CDialogEx::DoDataExchange(pDX); DDX_Control(pDX, IDC_EDIT_PHYSICAL_INPUT, m_input); } BEGIN_MESSAGE_MAP(CDialogPhysicalInput, CDialogEx) ON_BN_CLICKED(IDOK, &CDialogPhysicalInput::OnBnClickedOk) END_MESSAGE_MAP() // CDialogPhysicalInput 消息处理程序 CString CDialogPhysicalInput::GetInput() { return m_strInput; } void CDialogPhysicalInput::OnBnClickedOk() { m_input.GetWindowText(m_strInput); CDialogEx::OnOK(); }