26 lines
756 B
C#
26 lines
756 B
C#
using System.Diagnostics;
|
|
using System.Windows;
|
|
using System.Windows.Navigation;
|
|
|
|
namespace Elwig.Windows {
|
|
public partial class AboutWindow : Window {
|
|
|
|
public AboutWindow() {
|
|
InitializeComponent();
|
|
Version.Text = App.Version.ToString();
|
|
}
|
|
|
|
private void Hyperlink_RequestNavigate(object sender, RequestNavigateEventArgs e) {
|
|
try {
|
|
Process.Start(new ProcessStartInfo(e.Uri.AbsoluteUri) { UseShellExecute = true });
|
|
} catch { }
|
|
}
|
|
|
|
private void Hyperlink_RequestNavigate_Explorer(object sender, RequestNavigateEventArgs e) {
|
|
try {
|
|
Process.Start("explorer.exe", e.Uri.AbsoluteUri);
|
|
} catch { }
|
|
}
|
|
}
|
|
}
|