Пример #1
0
        private void btnSearchNet_Click(object sender, EventArgs e)
        {
            SiteGraber    site = new SiteGraber();
            List <string> Name = site.Parse();

            if (Name != null)
            {
                //Process the names (Add the found TOC to Varaiables.Header)
                foreach (var item in Variables.HeaderTextInFile)
                {
                    item.Value.Result.AddRange(Name);
                }

                //Reload
                LoadFiles();
                Variables.TOCDownloadedFromNet = true;
            }
        }
Пример #2
0
        private void btnSearchNet_Click(object sender, EventArgs e)
        {
            SiteGraber site = new SiteGraber();
            List<string> Name = site.Parse();

            if (Name != null)
            {
                //Process the names (Add the found TOC to Varaiables.Header)
                foreach (var item in Variables.HeaderTextInFile)
                {
                    item.Value.Result.AddRange(Name);
                }

                //Reload
                LoadFiles();
                Variables.TOCDownloadedFromNet = true;
            }
        }