private void webBrowser_Navigating(object sender, Microsoft.Phone.Controls.NavigatingEventArgs e) { if (e.Uri.IsAbsoluteUri) { MessageBoxResult res = MessageBox.Show("This link is outside of the app. Do you want to load it up in Internet Explorer?", "Go online?", MessageBoxButton.OKCancel); e.Cancel = true; if (res == MessageBoxResult.OK) { WebBrowserTask wbt = new WebBrowserTask(); wbt.Uri = e.Uri; wbt.Show(); } } }
private void mcs2_Navigating(object sender, Microsoft.Phone.Controls.NavigatingEventArgs e) { progresshow.IsIndeterminate = true; }