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.

73 lines
1.4 KiB

  1. //Copyright (c) 1998 - 1999 Microsoft Corporation
  2. /*++
  3. Module Name:
  4. CntDlg.cpp
  5. Abstract:
  6. This Module contains the implementation of CConnectDialog class
  7. (Dialog box for Connecting to Server)
  8. Author:
  9. Arathi Kundapur (v-akunda) 11-Feb-1998
  10. Revision History:
  11. --*/
  12. #include "stdafx.h"
  13. #include "defines.h"
  14. #include "LicMgr.h"
  15. #include "LSServer.h"
  16. #include "MainFrm.h"
  17. #include "CntDlg.h"
  18. #ifdef _DEBUG
  19. #define new DEBUG_NEW
  20. #undef THIS_FILE
  21. static char THIS_FILE[] = __FILE__;
  22. #endif
  23. /////////////////////////////////////////////////////////////////////////////
  24. // CConnectDialog dialog
  25. CConnectDialog::CConnectDialog(CWnd* pParent /*=NULL*/)
  26. : CDialog(CConnectDialog::IDD, pParent)
  27. {
  28. //{{AFX_DATA_INIT(CConnectDialog)
  29. m_Server = _T("");
  30. //}}AFX_DATA_INIT
  31. }
  32. void CConnectDialog::DoDataExchange(CDataExchange* pDX)
  33. {
  34. CDialog::DoDataExchange(pDX);
  35. //{{AFX_DATA_MAP(CConnectDialog)
  36. DDX_Text(pDX, IDC_SERVER, m_Server);
  37. DDV_MaxChars(pDX, m_Server, 100);
  38. //}}AFX_DATA_MAP
  39. }
  40. BEGIN_MESSAGE_MAP(CConnectDialog, CDialog)
  41. //{{AFX_MSG_MAP(CConnectDialog)
  42. ON_BN_CLICKED(IDC_HELP1, OnHelp1)
  43. //}}AFX_MSG_MAP
  44. END_MESSAGE_MAP()
  45. /////////////////////////////////////////////////////////////////////////////
  46. // CConnectDialog message handlers
  47. void CConnectDialog::OnHelp1()
  48. {
  49. // TODO: Add your control notification handler code here
  50. AfxGetApp()->WinHelp(IDC_HELP1,HELP_CONTEXT );
  51. }