From 060455998a74b93eb8ac3b8627d54ca7b9e61146 Mon Sep 17 00:00:00 2001 From: athaa Date: Sun, 19 Mar 2023 13:03:15 +0700 Subject: Add project files. --- MarkdownEditor/AboutWindow.xaml.cs | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 MarkdownEditor/AboutWindow.xaml.cs (limited to 'MarkdownEditor/AboutWindow.xaml.cs') diff --git a/MarkdownEditor/AboutWindow.xaml.cs b/MarkdownEditor/AboutWindow.xaml.cs new file mode 100644 index 0000000..0c1bf24 --- /dev/null +++ b/MarkdownEditor/AboutWindow.xaml.cs @@ -0,0 +1,34 @@ +using System; +using System.Collections.Generic; +using System.Diagnostics; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Input; +using System.Windows.Media; +using System.Windows.Media.Imaging; +using System.Windows.Shapes; + +namespace MarkdownEditor +{ + /// + /// Interaction logic for AboutWindow.xaml + /// + public partial class AboutWindow : Window + { + public AboutWindow() + { + InitializeComponent(); + } + + private void Hyperlink_RequestNavigate(object sender, System.Windows.Navigation.RequestNavigateEventArgs e) + { + Process.Start(new ProcessStartInfo(e.Uri.AbsoluteUri)); + e.Handled = true; + } + } +} -- cgit v1.2.3