Код: Выделить всё
$app->restart();
Код: Выделить всё
Invoke or BeginInvoke cannot be called on a control until the window handle has been created. at System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean synchronous)
at System.Windows.Forms.Control.BeginInvoke(Delegate method, Object[] args)
at Gecko.GeckoWebBrowser.Reload(GeckoLoadFlags flags)
at XHE.Browser.Browsers.XHEBrowserGeckoFX.EnableProxy(String connection, String proxy, Boolean refresh)
at XHE.Browser.Browsers.XHEBrowserGeckoFX.InitSettings(BrowserProfile profile)
at XHE.Browser.Browsers.XHEBrowserGeckoFX..ctor(BrowserTabUserControl tabControl, String url, BrowserProfile profile)
at XHE.BrowserTabUserControl..ctor(Action`5 openNewTab, String url, Boolean multiThreadedMessageLoopEnabled, BrowserProfile profile, Object requestContext, String refferer)
at XHE.Panels.DocumentPane.AddTab(String url, Nullable`1 insertIndex, BrowserProfile profile, Object requestContext, String refferer)
at XHE.Panels.DocumentPane.RecreateBrowser(Boolean clearCache, Boolean clearLocalStorage, Boolean clearCookies, Boolean clearIndexedDB, Int32 activeServerTab)
browser is null after recreate
command not found: Browser.IsBusy
command not found: Application.restart
command not found: Debug.set_cur_script_path
command not found: Browser.navigate
command not found: Browser.IsBusy
command not found: Browser.get_last_navigation_error
command not found: Application.clear
command not found: Browser.IsBusy
command not found: Browser.navigate