1 using System.Diagnostics;
3 using System.Windows.Controls;
4 using System.Threading;
6 namespace SpeedportHybridControl.page {
8 /// Interaction logic for AboutPage.xaml
10 public partial class AboutPage : Page {
12 InitializeComponent();
13 //tbVersion.Text = MainWindow.VERSION;
16 private void button_click (object sender, RoutedEventArgs e) {
18 if (sender.Equals(btnDonate)) {
19 Process.Start("https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=E7EBAC5NP928J");
21 else if (sender.Equals(btnBugtracker)) {
22 Process.Start("https://stricted.net/bugtracker/index.php/ProductList/");
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();
29 new Thread(() => { MessageBox.Show("SpeedportHybridControl ist auf dem neuesten Stand.", "Confirmation", MessageBoxButton.OK, MessageBoxImage.Information); }).Start();