DialogPhysicalInput.cpp 949 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. // DialogPhysicalInput.cpp : 实现文件
  2. //
  3. #include "stdafx.h"
  4. #include "DIOS_3DDR_MechCal.h"
  5. #include "DialogPhysicalInput.h"
  6. #include "afxdialogex.h"
  7. // CDialogPhysicalInput 对话框
  8. IMPLEMENT_DYNAMIC(CDialogPhysicalInput, CDialogEx)
  9. CDialogPhysicalInput::CDialogPhysicalInput(CWnd* pParent /*=NULL*/)
  10. : CDialogEx(CDialogPhysicalInput::IDD, pParent)
  11. {
  12. }
  13. CDialogPhysicalInput::~CDialogPhysicalInput()
  14. {
  15. }
  16. void CDialogPhysicalInput::DoDataExchange(CDataExchange* pDX)
  17. {
  18. CDialogEx::DoDataExchange(pDX);
  19. DDX_Control(pDX, IDC_EDIT_PHYSICAL_INPUT, m_input);
  20. }
  21. BEGIN_MESSAGE_MAP(CDialogPhysicalInput, CDialogEx)
  22. ON_BN_CLICKED(IDOK, &CDialogPhysicalInput::OnBnClickedOk)
  23. END_MESSAGE_MAP()
  24. // CDialogPhysicalInput 消息处理程序
  25. CString CDialogPhysicalInput::GetInput()
  26. {
  27. return m_strInput;
  28. }
  29. void CDialogPhysicalInput::OnBnClickedOk()
  30. {
  31. m_input.GetWindowText(m_strInput);
  32. CDialogEx::OnOK();
  33. }