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