private void ShowResult(AsposeReverseSearchApiHelper.ImagesSearchResult searchResult)
 {
     if (searchResult != null)
     {
         this.listview1.DataSource = searchResult.Images;
         this.listview1.DataBind();
     }
 }
        private void ShowSearchResults(AsposeReverseSearchApiHelper.ImagesSearchResult searchResult)
        {
            var resultStr = searchResult.Images?.Length == 1
                ? Resources["ReverseSearchResult"]
                : Resources["ReverseSearchResults"];

            this.hResultsCount.InnerText = (searchResult.Images?.Length ?? 0) + " " + resultStr;

            this.hSiteName.InnerText = string.Format(Resources["ReverseSearchOnSite"], searchResult.Site);

            this.hTotalImagesCount.InnerText = searchResult.TotalImagesCount > 0
                ? string.Format(Resources["ReverseSearchTotalImagesCount"], searchResult.TotalImagesCount)
                : string.Empty;

            if (searchResult.SearchImage != null)
            {
                this.imgSearchImage.ImageUrl = searchResult.SearchImage.Image;
            }

            this.ShowResult(searchResult);
        }