mirror of
https://github.com/crskycode/GARbro.git
synced 2026-06-06 13:48:57 +08:00
check for updates - initial implementation.
This commit is contained in:
@@ -189,20 +189,8 @@ namespace GARbro.GUI
|
||||
|
||||
private void Hyperlink_RequestNavigate (object sender, RequestNavigateEventArgs e)
|
||||
{
|
||||
try
|
||||
{
|
||||
if (e.Uri.IsAbsoluteUri)
|
||||
{
|
||||
Process.Start (new ProcessStartInfo (e.Uri.AbsoluteUri));
|
||||
e.Handled = true;
|
||||
}
|
||||
else
|
||||
throw new ApplicationException ("URI is not absolute");
|
||||
}
|
||||
catch (Exception X)
|
||||
{
|
||||
Trace.WriteLine ("Link navigation failed: "+X.Message, e.Uri.ToString());
|
||||
}
|
||||
if (App.NavigateUri (e.Uri))
|
||||
e.Handled = true;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user