more stuff...
[GitHub/Stricted/SpeedportHybridControl.git] / SpeedportHybridControl / page / AboutPage.xaml.cs
1 using System.Diagnostics;
2 using System.Windows;
3 using System.Windows.Controls;
4 using System.Threading;
5
6 namespace SpeedportHybridControl.page {
7 /// <summary>
8 /// Interaction logic for AboutPage.xaml
9 /// </summary>
10 public partial class AboutPage : Page {
11 public AboutPage () {
12 InitializeComponent();
13 //tbVersion.Text = MainWindow.VERSION;
14 }
15
16 private void button_click (object sender, RoutedEventArgs e) {
17 /*
18 if (sender.Equals(btnDonate)) {
19 Process.Start("https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=E7EBAC5NP928J");
20 }
21 else if (sender.Equals(btnBugtracker)) {
22 Process.Start("https://stricted.net/bugtracker/index.php/ProductList/");
23 }
24 else if (sender.Equals(btnUpdate)) {
25 if (util.checkUpdate().Equals(true)) {
26 new Thread(() => { MessageBox.Show("Ein Update ist verfügbar.", "Confirmation", MessageBoxButton.OK, MessageBoxImage.Warning); }).Start();
27 }
28 else {
29 new Thread(() => { MessageBox.Show("SpeedportHybridControl ist auf dem neuesten Stand.", "Confirmation", MessageBoxButton.OK, MessageBoxImage.Information); }).Start();
30 }
31 }
32 */
33 }
34 }
35 }