private void ForwardPage() { m_iCurrentPage++; if (m_iCurrentPage >= m_iAccessedPages) { m_iAccessedPages++; DappleSearchWebDownload oDownload = new DappleSearchWebDownload(m_oSearchBoundingBox, m_strSearchString, m_iCurrentPage, m_lSearchIndex); SetSearching(); oDownload.StartDownload(new DownloadCompleteHandler(ForwardPageComplete)); } else { RefreshResultList(); } }
public void SetSearchParameters(String strKeyword, Geosoft.Dap.Common.BoundingBox oBoundingBox) { m_lSearchIndex++; m_oSearchBoundingBox = oBoundingBox; m_strSearchString = strKeyword; if (String.Empty.Equals(strKeyword) && oBoundingBox == null) { SetNoSearch(); } else { DappleSearchWebDownload oDownload = new DappleSearchWebDownload(m_oSearchBoundingBox, m_strSearchString, 0, m_lSearchIndex); SetSearching(); oDownload.StartDownload(new DownloadCompleteHandler(SetSearchParametersComplete)); } }