annapppropsheet.cpp

来自「演示在角色扮演游戏中如何利用人工神经网络进行智能分类的训练」· C++ 代码 · 共 68 行

CPP
68
字号
// ANNAppPropSheet.cpp : implementation file
//

#include "stdafx.h"
#include "ANNApp.h"
#include "ANNAppPropSheet.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CANNAppPropSheet

IMPLEMENT_DYNAMIC(CANNAppPropSheet, CPropertySheet)

CANNAppPropSheet::CANNAppPropSheet() : CPropertySheet("gpdev.net - Artificial Neural Network Sample Application")
{
    _page1.Construct( IDD_TRAIN_PAGE_DLG );
	_page2.Construct( IDD_TEST_PAGE_DLG );
	
	AddPage( &_page1 );
	AddPage( &_page2 );
}


CANNAppPropSheet::CANNAppPropSheet(UINT nIDCaption, CWnd* pParentWnd, UINT iSelectPage)
	:CPropertySheet(nIDCaption, pParentWnd, iSelectPage)
{
}

CANNAppPropSheet::CANNAppPropSheet(LPCTSTR pszCaption, CWnd* pParentWnd, UINT iSelectPage)
	:CPropertySheet(pszCaption, pParentWnd, iSelectPage)
{
}

CANNAppPropSheet::~CANNAppPropSheet()
{
}


BEGIN_MESSAGE_MAP(CANNAppPropSheet, CPropertySheet)
	//{{AFX_MSG_MAP(CANNAppPropSheet)
		// NOTE - the ClassWizard will add and remove mapping macros here.
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CANNAppPropSheet message handlers

BOOL CANNAppPropSheet::OnInitDialog() 
{
	BOOL bResult = CPropertySheet::OnInitDialog();
	

    // hide PropertySheet default buttons
    GetDlgItem( IDOK )->ShowWindow( SW_HIDE );
	GetDlgItem( IDCANCEL )->ShowWindow( SW_HIDE );
    GetDlgItem( IDHELP )->ShowWindow( SW_HIDE );
	GetDlgItem( ID_APPLY_NOW )->ShowWindow( SW_HIDE );



	return bResult;
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?