www.pudn.com > 多功能聊天程序.rar > FileTransferDlg.h


// FileTransferDlg.h : header file 
// 
 
#if !defined(AFX_FILETRANSFERDLG_H__546A7999_F9EA_49AE_A16C_FC4CF3091348__INCLUDED_) 
#define AFX_FILETRANSFERDLG_H__546A7999_F9EA_49AE_A16C_FC4CF3091348__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
 
///////////////////////////////////////////////////////////////////////////// 
// CFileTransferDlg dialog 
 
class CFileTransferDlg : public CDialog 
{ 
// Construction 
public: 
	CString IPstr; 
	int sign; 
	CFile MyFile; 
	void OnClient(); 
	void OnServer(); 
	CFileTransferDlg(CWnd* pParent = NULL);	// standard constructor 
 
// Dialog Data 
	//{{AFX_DATA(CFileTransferDlg) 
	enum { IDD = IDD_FILETRANSFER_DIALOG }; 
	CButton	m_Button; 
	CProgressCtrl	m_Progress; 
	CIPAddressCtrl	m_IPADDRESS; 
	CString	m_FileName; 
	CString	m_FileSize; 
	CString	m_Name; 
	//}}AFX_DATA 
 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CFileTransferDlg) 
	protected: 
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support 
	//}}AFX_VIRTUAL 
 
// Implementation 
protected: 
	HICON m_hIcon; 
 
	// Generated message map functions 
	//{{AFX_MSG(CFileTransferDlg) 
	virtual BOOL OnInitDialog(); 
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam); 
	afx_msg void OnPaint(); 
	afx_msg HCURSOR OnQueryDragIcon(); 
	virtual void OnOK(); 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
}; 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_FILETRANSFERDLG_H__546A7999_F9EA_49AE_A16C_FC4CF3091348__INCLUDED_)