private void Navigate(String url) { if (WebBrowser.CheckAccess()) { _pageLouded = false; WebBrowser.Navigate(url); CurrentUrlLbl.Content = url.Split(new[] { '?' }, StringSplitOptions.RemoveEmptyEntries)[0]; } else { _pageLouded = false; Dispatcher.BeginInvoke(DispatcherPriority.Normal, new Action(() => { WebBrowser.Navigate(url); CurrentUrlLbl.Content = url.Split(new[] { '?' }, StringSplitOptions.RemoveEmptyEntries)[0]; })); } }