public Snapshot(SnapWebSiteHelper site)
            {
                Site     = site;
                web      = new WebBrowser();
                web.Size = new Size(1024, 768);//默认分辨率为1024x768
                web.ScrollBarsEnabled      = false;
                web.ScriptErrorsSuppressed = false;
                web.NewWindow         += new CancelEventHandler(CancelEventHandler);
                web.DocumentCompleted += new WebBrowserDocumentCompletedEventHandler(DocCompletedEventHandler);
                web.Navigate(Site.Url);

                while (web.ReadyState != WebBrowserReadyState.Complete)
                {
                    Application.DoEvents();
                }
                //web.Stop();
            }
        /// <summary>
        /// WebBrowser所开线程的启动入口函数
        /// </summary>
        /// <param name="obj"></param>
        protected void StartRun(Object obj)
        {
            SnapWebSiteHelper site = (SnapWebSiteHelper)obj;

            new Snapshot(site);
        }