📄 annapppropsheet.cpp
字号:
// 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -