Fix more hyperlink issues

This commit is contained in:
Gustave Monce
2021-08-12 08:37:20 +02:00
parent 7f3c8b1777
commit d8fd0aa516
6 changed files with 36 additions and 7 deletions
+14 -2
View File
@@ -440,7 +440,13 @@ namespace WPinternals
{
get
{
return _OpenWebSiteCommand ??= new DelegateCommand(() => Process.Start("www.wpinternals.net"));
return _OpenWebSiteCommand ??= new DelegateCommand(() =>
{
Process process = new();
process.StartInfo.UseShellExecute = true;
process.StartInfo.FileName = "www.wpinternals.net";
process.Start();
});
}
}
@@ -449,7 +455,13 @@ namespace WPinternals
{
get
{
return _DonateCommand ??= new DelegateCommand(() => Process.Start("https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=VY8N7BCBT9CS4"));
return _DonateCommand ??= new DelegateCommand(() =>
{
Process process = new();
process.StartInfo.UseShellExecute = true;
process.StartInfo.FileName = "https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=VY8N7BCBT9CS4";
process.Start();
});
}
}