Free cookie consent management tool by TermsFeed Policy Generator

source: branches/HeuristicLab.Problems.GrammaticalOptimization/DynamicDataDisplay/Charts/Navigation/AboutWindow.xaml.cs @ 12747

Last change on this file since 12747 was 12503, checked in by aballeit, 10 years ago

#2283 added GUI and charts; fixed MCTS

File size: 1.2 KB
RevLine 
[12503]1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Text;
5using System.Windows;
6using System.Windows.Controls;
7using System.Windows.Data;
8using System.Windows.Documents;
9using System.Windows.Input;
10using System.Windows.Media;
11using System.Windows.Media.Imaging;
12using System.Windows.Shapes;
13using System.Diagnostics;
14using System.Reflection;
15using Microsoft.Research.DynamicDataDisplay.Common.Auxiliary;
16
17namespace 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.