protected override void Dispose(bool disposing)
        {
            _historyList.Clear();

            _browser.Dispose();

            base.Dispose(disposing);
        }
Beispiel #2
0
        private void _Generate()
        {
            var browser = new WebKitBrowser();//{ ScrollBarsEnabled = false };

            browser.Navigate(m_Url);
            browser.DocumentCompleted += WebBrowser_DocumentCompleted;
            ////???
            //while (browser.ReadyState != WebBrowserReadyState.Complete)
            //{
            //    Application.DoEvents();
            //}
            browser.Dispose();
        }