Compare commits
2 Commits
be436f1b1c
...
410055c9f2
| Author | SHA1 | Date | |
|---|---|---|---|
| 410055c9f2 | |||
| ce75d8aa0b |
@@ -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">
|
||||
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user