📄 ftpupdatedlg.h
字号:
// FTPUpdateDlg.h : header file
//
#if !defined(AFX_FTPUPDATEDLG_H__5F22861D_FB9F_4DE5_940B_7FF4948B45B7__INCLUDED_)
#define AFX_FTPUPDATEDLG_H__5F22861D_FB9F_4DE5_940B_7FF4948B45B7__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
#include "FTPClient.h"
#include "StringA.h" // Added by ClassView
/////////////////////////////////////////////////////////////////////////////
// CFTPUpdateDlg dialog
class CFTPUpdateDlg : public CDialog,public nsFTP::CNotification
{
public:
nsFTP::CFTPClient m_FTPClient;
nsFTP::CLogonInfo m_LogonInfo;
protected:
virtual void OnInternalError(CStringA strErrorMsg, CStringA strFileName, DWORD dwLineNr);
virtual void OnSendCommand(CStringA strCommand);
virtual void OnResponse(CStringA strResponse);
// Construction
public:
CStringA GetServerIP();
CFTPUpdateDlg(CWnd* pParent = NULL); // standard constructor
void WriteLine(const CString& cszLine, COLORREF crText);
// Dialog Data
//{{AFX_DATA(CFTPUpdateDlg)
enum { IDD = IDD_FTPUPDATE_DIALOG };
CString m_strTip;
CString m_strIP;
int m_nPort;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CFTPUpdateDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CFTPUpdateDlg)
virtual BOOL OnInitDialog();
afx_msg void OnButton1();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft eMbedded Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_FTPUPDATEDLG_H__5F22861D_FB9F_4DE5_940B_7FF4948B45B7__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -