LogonDlg.cpp
资源名称:VC6.0.rar [点击查看]
上传用户:qdhmjx
上传日期:2022-07-11
资源大小:2226k
文件大小:1k
源码类别:
书籍源码
开发平台:
Visual C++
- // LogonDlg.cpp : implementation file
- //
- #include "stdafx.h"
- #include "ex126Client.h"
- #include "LogonDlg.h"
- #ifdef _DEBUG
- #define new DEBUG_NEW
- #undef THIS_FILE
- static char THIS_FILE[] = __FILE__;
- #endif
- /////////////////////////////////////////////////////////////////////////////
- // CLogonDlg dialog
- CLogonDlg::CLogonDlg(CWnd* pParent /*=NULL*/)
- : CDialog(CLogonDlg::IDD, pParent)
- {
- //{{AFX_DATA_INIT(CLogonDlg)
- m_strName = _T("");
- m_strServer = _T("");
- m_nPort = 1200;
- //}}AFX_DATA_INIT
- }
- void CLogonDlg::DoDataExchange(CDataExchange* pDX)
- {
- CDialog::DoDataExchange(pDX);
- //{{AFX_DATA_MAP(CLogonDlg)
- DDX_Text(pDX, IDC_EDITNAME, m_strName);
- DDX_Text(pDX, IDC_EDITSERVER, m_strServer);
- DDX_Text(pDX, IDC_EDITPORT, m_nPort);
- DDV_MinMaxUInt(pDX, m_nPort, 1024, 65535);
- //}}AFX_DATA_MAP
- }
- BEGIN_MESSAGE_MAP(CLogonDlg, CDialog)
- //{{AFX_MSG_MAP(CLogonDlg)
- // NOTE: the ClassWizard will add message map macros here
- //}}AFX_MSG_MAP
- END_MESSAGE_MAP()
- /////////////////////////////////////////////////////////////////////////////
- // CLogonDlg message handlers