www.pudn.com > 完整的FTP客户端ftpwanderersrc.zip > OptionsSheet.cpp


/****************************************************************/ 
/*																*/ 
/*  OptionsSheet.cpp											*/ 
/*																*/ 
/*  Implementation of the COptionsSheet class.					*/ 
/*																*/ 
/*  Programmed by Pablo van der Meer							*/ 
/*  Copyright Pablo Software Solutions 2002						*/ 
/*	http://www.pablovandermeer.nl								*/ 
/*																*/ 
/*  Last updated: 15 may 2002									*/ 
/*																*/ 
/****************************************************************/ 
 
 
#include "stdafx.h" 
#include "resource.h" 
#include "OptionsSheet.h" 
 
#ifdef _DEBUG 
#define new DEBUG_NEW 
#undef THIS_FILE 
static char THIS_FILE[] = __FILE__; 
#endif 
 
///////////////////////////////////////////////////////////////////////////// 
// COptionsSheet 
 
IMPLEMENT_DYNAMIC(COptionsSheet, CPropertySheet) 
 
COptionsSheet::COptionsSheet(UINT nIDCaption, CWnd* pParentWnd, UINT iSelectPage) 
	:CPropertySheet(nIDCaption, pParentWnd, iSelectPage) 
{ 
} 
 
COptionsSheet::COptionsSheet(LPCTSTR pszCaption, CWnd* pParentWnd, UINT iSelectPage) 
	:CPropertySheet(pszCaption, pParentWnd, iSelectPage) 
{ 
} 
 
COptionsSheet::~COptionsSheet() 
{ 
} 
 
 
BEGIN_MESSAGE_MAP(COptionsSheet, CPropertySheet) 
	//{{AFX_MSG_MAP(COptionsSheet) 
		// NOTE - the ClassWizard will add and remove mapping macros here. 
	//}}AFX_MSG_MAP 
END_MESSAGE_MAP() 
 
 
void COptionsSheet::InitPages() 
{ 
	AddPage(&m_GeneralOptions); 
	AddPage(&m_ConnectionOptions); 
}