private void btnDownloadAll_Click(object sender, EventArgs e)
        {
            LastDownloadOperation = DownloadOperation.DownloadAll;
            HTMLHelpers.LinkedInHTMLHelpers.DeleteCSV(TopicsFilename);
            HTMLHelpers.LinkedInHTMLHelpers.DeleteCSV(IndextopicsFilename);
            Topics      = new Dictionary <string, LinkedInTopic>();
            Indextopics = new Dictionary <string, LinkedInTopic>();

            foreach (var urlIndexTopicPage in urlIndexTopicPages)
            {
                string title = urlIndexTopicPage.Substring(urlIndexTopicPage.LastIndexOf("/topic"));

                LinkedInTopic indextopic = new LinkedInTopic(-1, urlRootIndexTopicPage, urlIndexTopicPage, title);
                if (!Indextopics.Keys.Contains(urlIndexTopicPage))
                {
                    Indextopics.Add(urlIndexTopicPage, indextopic);
                }
                //break; // DEBUG
            }

            LinkedInTopic indextopicFirst = Indextopics.First().Value;

            indextopicFirst.Visited = true;
            NavigateToPage(indextopicFirst.UrlDetailPage);
        }
        private void btnDownloadOne_Click(object sender, EventArgs e)
        {
            LastDownloadOperation = DownloadOperation.DownloadOne;
            HTMLHelpers.LinkedInHTMLHelpers.DeleteCSV(TopicsFilename);
            HTMLHelpers.LinkedInHTMLHelpers.DeleteCSV(IndextopicsFilename);
            Topics      = new Dictionary <string, LinkedInTopic>();
            Indextopics = new Dictionary <string, LinkedInTopic>();

            string urlIndexTopicPage = urlIndexTopicPages[1];
            string title             = urlIndexTopicPage.Substring(urlIndexTopicPage.LastIndexOf("/topic"));

            LinkedInTopic indextopic = new LinkedInTopic(-1, urlRootIndexTopicPage, urlIndexTopicPage, title);

            if (!Indextopics.Keys.Contains(urlIndexTopicPage))
            {
                Indextopics.Add(urlIndexTopicPage, indextopic);
            }

            indextopic.Visited = true;
            NavigateToPage(urlIndexTopicPage);
        }