private void DG_Hyperlink_Click(object sender, RoutedEventArgs e) { Hyperlink link = (Hyperlink)e.OriginalSource; Process.Start(link.NavigateUri.AbsoluteUri);
Quote:System.ComponentModel.Win32Exception: "An error occurred trying to start process 'https://docs.microsoft.com/en-us/windows/communitytoolkit/mvvm/introduction' with working directory 'E:\Visual Studio\Code Project\DataGridPlus\DataGridPlus\bin\Debug\net8.0-windows'. Das System kann die angegebene Datei nicht finden."
Hyperlink link = (Hyperlink)e.OriginalSource; new ProcessStartInfo("start " + link.NavigateUri.AbsoluteUri);
string link = "https://docs.microsoft.com/en-us/windows/communitytoolkit/mvvm/introduction"; Process? process = Process.Start(new ProcessStartInfo(link) { UseShellExecute = true }); process!.WaitForExit();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)