Line | |
---|
1 | using System;
|
---|
2 | using System.Collections.Generic;
|
---|
3 | using System.Linq;
|
---|
4 | using System.Text;
|
---|
5 | using System.Windows;
|
---|
6 | using System.Windows.Controls;
|
---|
7 | using System.Windows.Data;
|
---|
8 | using System.Windows.Documents;
|
---|
9 | using System.Windows.Input;
|
---|
10 | using System.Windows.Media;
|
---|
11 | using System.Windows.Media.Imaging;
|
---|
12 | using System.Windows.Shapes;
|
---|
13 | using System.Diagnostics;
|
---|
14 | using System.Reflection;
|
---|
15 | using Microsoft.Research.DynamicDataDisplay.Common.Auxiliary;
|
---|
16 |
|
---|
17 | namespace Microsoft.Research.DynamicDataDisplay.Charts.Navigation
|
---|
18 | {
|
---|
19 | /// <summary>
|
---|
20 | /// Interaction logic for AboutWindow.xaml
|
---|
21 | /// </summary>
|
---|
22 | internal partial class AboutWindow : Window
|
---|
23 | {
|
---|
24 | public AboutWindow()
|
---|
25 | {
|
---|
26 | InitializeComponent();
|
---|
27 | }
|
---|
28 |
|
---|
29 | private void Hyperlink_Click(object sender, RoutedEventArgs e)
|
---|
30 | {
|
---|
31 | Hyperlink source = (Hyperlink)sender;
|
---|
32 | Process.Start(source.NavigateUri.ToString());
|
---|
33 | }
|
---|
34 |
|
---|
35 | private void Window_KeyDown(object sender, KeyEventArgs e)
|
---|
36 | {
|
---|
37 | // close on Esc or Enter pressed
|
---|
38 | if (e.Key == Key.Escape || e.Key == Key.Enter)
|
---|
39 | {
|
---|
40 | Close();
|
---|
41 | }
|
---|
42 | }
|
---|
43 |
|
---|
44 | private void Hyperlink_Click_1(object sender, RoutedEventArgs e)
|
---|
45 | {
|
---|
46 | Hyperlink source = (Hyperlink)sender;
|
---|
47 | Process.Start(source.NavigateUri.ToString());
|
---|
48 | }
|
---|
49 | }
|
---|
50 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.