此代码System.ComponentModel.Win32Exception在我的RequestNavigate事件处理程序中抛出一个。
Process.Start(new ProcessStartInfo(e.Uri.AbsoluteUri));
e.Handled = true;
Run Code Online (Sandbox Code Playgroud)
这是我的 XAML 代码:
<TextBlock Margin="0 0 40 40" FontSize="13" HorizontalAlignment="Right" VerticalAlignment="Bottom">
<Hyperlink Foreground="Snow" RequestNavigate="Hyperlink_RequestNavigate" NavigateUri="http://www.google.com">Bizning jamoa bilan tanishishni</Hyperlink>
</TextBlock>
Run Code Online (Sandbox Code Playgroud)