cainitsheet.cpp

来自「可以实现一个简单的CA发放证书更新证书等等功能。」· C++ 代码 · 共 49 行

CPP
49
字号
// CAInitSheet.cpp : implementation file
//

#include "stdafx.h"
#include "cisoca.h"
#include "CAInitSheet.h"

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

/////////////////////////////////////////////////////////////////////////////
// CCAInitSheet

IMPLEMENT_DYNAMIC(CCAInitSheet, CPropertySheet)

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

CCAInitSheet::CCAInitSheet(LPCTSTR pszCaption, CWnd* pParentWnd, UINT iSelectPage)
	:CPropertySheet(pszCaption, pParentWnd, iSelectPage)
{
	SetWizardMode();
	m_pBaseInfo = new CCABaseInfoDlg(this);
	m_pExtInfo  = new CCAExtInfoDlg (this);
	AddPage(m_pBaseInfo);
	AddPage(m_pExtInfo);	
}

CCAInitSheet::~CCAInitSheet()
{
	if(m_pBaseInfo) delete m_pBaseInfo;
	if(m_pExtInfo ) delete m_pExtInfo;
}


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

/////////////////////////////////////////////////////////////////////////////
// CCAInitSheet message handlers

⌨️ 快捷键说明

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