資源簡介
畢業(yè)設計 什么都有 源碼+論文

代碼片段和文件信息
//?ConnectDlg.cpp?:?implementation?file
//
#include?“stdafx.h“
#include?“MyFtp.h“
#include?“ConnectDlg.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CConnectDlg?dialog
CConnectDlg::CConnectDlg(CWnd*?pParent?/*=NULL*/)
:?CDialog(CConnectDlg::IDD?pParent)
{
//{{AFX_DATA_INIT(CConnectDlg)
m_FtpWebSite?=?_T(“127.0.0.1“);
m_UserName?=?_T(“anonymous“);
m_UserPwd?=?_T(““);
//}}AFX_DATA_INIT
}
void?CConnectDlg::DoDataExchange(CDataExchange*?pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CConnectDlg)
DDX_Text(pDX?IDC_EDIT1?m_FtpWebSite);
DDX_Text(pDX?IDC_EDIT2?m_UserName);
DDX_Text(pDX?IDC_EDIT3?m_UserPwd);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CConnectDlg?CDialog)
//{{AFX_MSG_MAP(CConnectDlg)
ON_BN_CLICKED(IDOK?OnConnect)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
//?CConnectDlg?message?handlers
void?CConnectDlg::OnConnect()?
{
//?TODO:?Add?your?control?notification?handler?code?here
UpdateData();
CDialog::OnOK();
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
-----------?---------??----------?-----??----
??????????????7060658????????????????????41
- 上一篇:mfc STL格式形體的讀取與顯示
- 下一篇:Gerver View 源碼
評論
共有 條評論