diff --git a/MainWindow.axaml.cs b/MainWindow.axaml.cs index 5bd5da6..6fc835d 100644 --- a/MainWindow.axaml.cs +++ b/MainWindow.axaml.cs @@ -11,6 +11,7 @@ namespace spplus; public partial class MainWindow : Window { public static MainWindow Instance { get; set; } + public static string ApplicationVersion = "v1.1.17"; public MainWindow() { InitializeComponent(); @@ -40,7 +41,7 @@ public partial class MainWindow : Window Process.Start(new ProcessStartInfo { FileName = "https://git.mypapercloud.de/fierke/spplus/wiki", - UseShellExecute = true // Wichtig für Plattformübergreifendes Öffnen + UseShellExecute = true }); } catch (Exception ex) @@ -56,7 +57,7 @@ public partial class MainWindow : Window Process.Start(new ProcessStartInfo { FileName = "https://git.mypapercloud.de/fierke/spplus", - UseShellExecute = true // Wichtig für Plattformübergreifendes Öffnen + UseShellExecute = true }); } catch (Exception ex) @@ -75,7 +76,7 @@ public partial class MainWindow : Window Grid g = new(); TextBlock tb = new() { - Text = "spplus v1.0.0\n(c)2026 MyPapertown, Elias Fierke" + Text = $"spplus {MainWindow.ApplicationVersion}\n(c)2026 MyPapertown, Elias Fierke" }; g.Children.Add(tb); w.Content = g; @@ -152,10 +153,10 @@ public partial class MainWindow : Window private void BtnCraftCourses_OnClick(object? sender, RoutedEventArgs e) { - // Craft courses here / call course-crafter CourseCrafter.Craft(); RefreshResultView(); - TbiResults.Focus(); + TclMainView.SelectedIndex = 2; + //TbiResults.Focus(); } private void RefreshResultView()