📄 conndlg.cpp
字号:
// MiniFTP copyright 1997 Paul Gerhart pgerhart@voicenet.com
// conndlg.cpp : implementation file
//
//
#include "stdafx.h"
#include "miniftp.h"
#include "conndlg.h"
#ifdef _DEBUG
#undef THIS_FILE
static char BASED_CODE THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CConnectDlg dialog
CConnectDlg::CConnectDlg(CWnd* pParent /*=NULL*/)
: CDialog(CConnectDlg::IDD, pParent)
{
//{{AFX_DATA_INIT(CConnectDlg)
m_sHost = "";
m_bClearWindow = FALSE;
m_sName = _T("");
m_sPassword = _T("");
m_uTimeout = 0;
//}}AFX_DATA_INIT
}
void CConnectDlg::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CConnectDlg)
DDX_Text(pDX, IDC_HOST, m_sHost);
DDV_MaxChars(pDX, m_sHost, 256);
DDX_Check(pDX, IDC_CLEAR_WINDOW, m_bClearWindow);
DDX_Text(pDX, IDC_NAME, m_sName);
DDV_MaxChars(pDX, m_sName, 30);
DDX_Text(pDX, IDC_PASSWORD, m_sPassword);
DDV_MaxChars(pDX, m_sPassword, 30);
DDX_Text(pDX, IDC_TIMEOUT, m_uTimeout);
DDV_MinMaxUInt(pDX, m_uTimeout, 10, 300);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CConnectDlg, CDialog)
//{{AFX_MSG_MAP(CConnectDlg)
ON_BN_CLICKED(IDCONNHELP, OnConnhelp)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
void CConnectDlg::OnConnhelp()
{
// TODO: Add your control notification handler code here
AfxGetApp()->WinHelp( IDD_CONN_INFO + 0x20000);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -