InputCode.cpp 926 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. // InputCode.cpp : implementation file
  2. //
  3. #include "stdafx.h"
  4. #include "dbserver.h"
  5. #include "InputCode.h"
  6. #ifdef _DEBUG
  7. #define new DEBUG_NEW
  8. #undef THIS_FILE
  9. static char THIS_FILE[] = __FILE__;
  10. #endif
  11. /////////////////////////////////////////////////////////////////////////////
  12. // InputCode dialog
  13. InputCode::InputCode(CWnd* pParent /*=NULL*/)
  14. : CDialog(InputCode::IDD, pParent)
  15. {
  16. //{{AFX_DATA_INIT(InputCode)
  17. m_code = _T("");
  18. //}}AFX_DATA_INIT
  19. }
  20. void InputCode::DoDataExchange(CDataExchange* pDX)
  21. {
  22. CDialog::DoDataExchange(pDX);
  23. //{{AFX_DATA_MAP(InputCode)
  24. DDX_Text(pDX, IDC_EDIT1, m_code);
  25. //}}AFX_DATA_MAP
  26. }
  27. BEGIN_MESSAGE_MAP(InputCode, CDialog)
  28. //{{AFX_MSG_MAP(InputCode)
  29. //}}AFX_MSG_MAP
  30. END_MESSAGE_MAP()
  31. /////////////////////////////////////////////////////////////////////////////
  32. // InputCode message handlers
  33. void InputCode::OnOK() // Ò½Ôº¸ú×Ùϵͳע²á;
  34. {
  35. UpdateData();
  36. CDialog::OnOK();
  37. }