Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

46 lines
1.0 KiB

  1. // SettingsDlg.cpp : implementation file
  2. //
  3. #include "stdinc.h"
  4. #include "host.h"
  5. #include "SettingsDlg.h"
  6. #ifdef _DEBUG
  7. #define new DEBUG_NEW
  8. #undef THIS_FILE
  9. static char THIS_FILE[] = __FILE__;
  10. #endif
  11. /////////////////////////////////////////////////////////////////////////////
  12. // CSettingsDlg dialog
  13. CSettingsDlg::CSettingsDlg(CWnd* pParent /*=NULL*/)
  14. : CDialog(CSettingsDlg::IDD, pParent)
  15. {
  16. //{{AFX_DATA_INIT(CSettingsDlg)
  17. m_sDBName = L"";
  18. m_sDBQuery = L"";
  19. m_sPath = L"";
  20. //}}AFX_DATA_INIT
  21. }
  22. void CSettingsDlg::DoDataExchange(CDataExchange* pDX)
  23. {
  24. CDialog::DoDataExchange(pDX);
  25. //{{AFX_DATA_MAP(CSettingsDlg)
  26. DDX_Text(pDX, IDC_DB_FILE, m_sDBName);
  27. DDX_Text(pDX, IDC_DB_QUERY, m_sDBQuery);
  28. DDX_Text(pDX, IDC_DIR_PATH, m_sPath);
  29. //}}AFX_DATA_MAP
  30. }
  31. BEGIN_MESSAGE_MAP(CSettingsDlg, CDialog)
  32. //{{AFX_MSG_MAP(CSettingsDlg)
  33. // NOTE: the ClassWizard will add message map macros here
  34. //}}AFX_MSG_MAP
  35. END_MESSAGE_MAP()
  36. /////////////////////////////////////////////////////////////////////////////
  37. // CSettingsDlg message handlers