private void Bt_Click(object sender, RoutedEventArgs e) { if (MessageBox.Show("Yes or No", "?", MessageBoxButton.OKCancel) != MessageBoxResult.OK) { return; } HyperlinkButton hb = new HyperlinkButton() { NavigateUri = new Uri(HtmlPage.Document.DocumentUri.OriginalString.Split('#')[0] + "#/ViewTask1", UriKind.Absolute), TargetName = "_blank" }; (new HyperlinkButtonAutomationPeer(hb) as IInvokeProvider).Invoke(); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)