Example #1
0
        private void resetAll()
        {
            try
            {
                time.Stop();
                stopWatch = null;
                webStructure.RequestCrawlCancellation();
                webStructure        = null;
                groupInit.Visible   = true;
                toolBar.Enabled     = false;
                groupInit.Enabled   = true;
                lblHostCount.Text   = "0";
                lblQueuedLinks.Text = "0";
                lblTotalCount.Text  = "0";
                listHosts.Items.Clear();
                listQueuedUrls.Items.Clear();
            }
            catch { }

            LogSync("Layout reset.");
        }