⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 allcontrolsheet.cpp

📁 通过穷举法和字典法对远程数据库密码进行破解
💻 CPP
字号:
// AllControlSheet.cpp : implementation file
//

#include "stdafx.h"
#include "AllControlSheet.h"

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

/////////////////////////////////////////////////////////////////////////////
// CAllControlSheet

IMPLEMENT_DYNAMIC(CAllControlSheet, CPropertySheet)

CAllControlSheet::CAllControlSheet(UINT nIDCaption, CWnd* pParentWnd, UINT iSelectPage)
	:CPropertySheet(nIDCaption, pParentWnd, iSelectPage)
{
	AddControlPages();
}

CAllControlSheet::CAllControlSheet(LPCTSTR pszCaption, CWnd* pParentWnd, UINT iSelectPage)
	:CPropertySheet(pszCaption, pParentWnd, iSelectPage)
{
	AddControlPages();
}

CAllControlSheet::~CAllControlSheet()
{
}


BEGIN_MESSAGE_MAP(CAllControlSheet, CPropertySheet)
	//{{AFX_MSG_MAP(CAllControlSheet)
	ON_WM_QUERYDRAGICON()
	ON_WM_SYSCOMMAND()
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CAllControlSheet message handlers

BOOL CAllControlSheet::OnInitDialog() 
{
	// Add "About..." menu item to system menu.
	// IDM_ABOUTBOX must be in the system command range.
	return CPropertySheet::OnInitDialog();
}

BOOL CAllControlSheet::Create(LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID, CCreateContext* pContext) 
{

	return CWnd::Create(lpszClassName, lpszWindowName, dwStyle, rect, pParentWnd, nID, pContext);
}

HCURSOR CAllControlSheet::OnQueryDragIcon()
{
	return (HCURSOR) m_hIcon;
}

void CAllControlSheet::OnSysCommand(UINT nID, LPARAM lParam)
{
	CPropertySheet::OnSysCommand(nID, lParam);
}

void CAllControlSheet::AddControlPages()
{
	m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME);
	m_psh.dwFlags |= PSP_USEHICON;
	m_psh.dwFlags &= ~PSH_HASHELP; 
	m_psh.hIcon = m_hIcon;

	AddPage(&m_obtainKeyPage);
	AddPage(&m_controlDBPage);
}

⌨️ 快捷键说明

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