Пример #1
0
BOOL CRelatedSearch::RunSearchForThis()
{
	if ( ! CanSearchForThis() ) return FALSE;
	CQuerySearchPtr pSearch = new CQuerySearch();
	pSearch->m_oSHA1	= m_oSHA1;
	pSearch->m_oTiger	= m_oTiger;
	pSearch->m_oED2K	= m_oED2K;
	pSearch->m_oBTH		= m_oBTH;
	pSearch->m_oMD5		= m_oMD5;
	return CQuerySearch::OpenWindow( pSearch ) != NULL;
}
Пример #2
0
BOOL CRelatedSearch::RunSearchForThis()
{
	if ( ! CanSearchForThis() ) return FALSE;
	CQuerySearch* pSearch = new CQuerySearch();
	pSearch->m_bSHA1	= m_bSHA1;
	pSearch->m_pSHA1	= m_pSHA1;
	pSearch->m_bTiger	= m_bTiger;
	pSearch->m_pTiger	= m_pTiger;
	pSearch->m_bED2K	= m_bED2K;
	pSearch->m_pED2K	= m_pED2K;
	return pSearch->OpenWindow() != NULL;
}