1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- // 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();
- }
|