Compare commits

...

2 Commits

Author SHA1 Message Date
410055c9f2 [chore:] tiny improvements for ux 2026-03-18 14:33:45 +01:00
ce75d8aa0b [gui:] re-renamed to spplus since it looks better :D 2026-03-18 14:33:33 +01:00
2 changed files with 8 additions and 7 deletions

View File

@@ -4,7 +4,7 @@
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
x:Class="spplus.MainWindow" WindowState="Maximized"
Title="SP+">
Title="spplus">
<Border>
<Grid RowDefinitions="30,*">
<Menu Background="#50888888">
@@ -20,7 +20,7 @@
<MenuItem Header="Über" x:Name="MnuAbout" Click="MnuAbout_OnClick" />
</MenuItem>
</Menu>
<TabControl x:Name="TclMainView" Grid.Row="1">
<TabControl x:Name="TclMainView" Grid.Row="1" TabStripPlacement="Left">
<TabItem>
<TabItem.Header>
<StackPanel Orientation="Horizontal">

View File

@@ -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()