-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathHelpWindow.xaml
More file actions
77 lines (69 loc) · 4.81 KB
/
HelpWindow.xaml
File metadata and controls
77 lines (69 loc) · 4.81 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
<Window x:Class="TaskPilot.HelpWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="TaskPilot - Hilfe & Info"
Height="600" Width="800"
WindowStartupLocation="CenterOwner"
ResizeMode="CanResize"
Icon="/icons/toolicon.ico">
<Grid Background="#F5F5F5">
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<!-- Header -->
<Border Grid.Row="0" Background="#2196F3" Padding="15">
<StackPanel>
<TextBlock Text="TaskPilot - Hilfe & Info" FontSize="16" FontWeight="Bold" Foreground="White"/>
<TextBlock Text="Kurzanleitung, Kontakt & Updates" FontSize="12" Foreground="#E3F2FD"/>
</StackPanel>
</Border>
<!-- Content -->
<ScrollViewer Grid.Row="1" Padding="20">
<StackPanel>
<!-- Version & Update-Status -->
<StackPanel Orientation="Horizontal" Margin="0,0,0,12">
<TextBlock Text="Version:" FontWeight="SemiBold" Margin="0,0,8,0"/>
<TextBlock x:Name="CurrentVersionText" Text="-"/>
<TextBlock Text=" | " Margin="8,0,8,0"/>
<TextBlock x:Name="UpdateStatusText" Text="Status unbekannt" Foreground="#555"/>
<Button Content="Jetzt prüfen" Click="CheckUpdates_Click" Padding="10,4" Margin="12,0,0,0" Background="#1976D2" Foreground="White"/>
<Button x:Name="InstallNowButton" Content="Download & Installieren" Click="InstallNow_Click" Padding="10,4" Margin="8,0,0,0" Background="#2E7D32" Foreground="White" IsEnabled="False"/>
</StackPanel>
<TextBlock Text="Über TaskPilot" FontSize="14" FontWeight="Bold" Margin="0,0,0,8"/>
<TextBlock Text="TaskPilot überwacht ausgewählte Programme, kann sie bei Bedarf neu starten und bietet schnelle Steuerung über Kontextmenü und Buttons." TextWrapping="Wrap" Margin="0,0,0,12"/>
<TextBlock Text="Schnellstart" FontSize="13" FontWeight="SemiBold" Foreground="#1976D2" Margin="0,0,0,6"/>
<StackPanel Margin="15,0,0,12">
<TextBlock Text="1) Öffne Konfiguration, füge Programme hinzu (ProcessName, StartCommand)." TextWrapping="Wrap"/>
<TextBlock Text="2) Checkbox 'Überwachen' aktivieren, bei Bedarf 'AutoStart'." TextWrapping="Wrap"/>
<TextBlock Text="3) Übernehmen klicken – TaskPilot überwacht und steuert die Prozesse." TextWrapping="Wrap"/>
</StackPanel>
<TextBlock Text="StartCommand kurz" FontSize="13" FontWeight="SemiBold" Foreground="#1976D2" Margin="0,0,0,6"/>
<StackPanel Margin="15,0,0,12">
<TextBlock Text="• Einfache Programme: notepad.exe" TextWrapping="Wrap"/>
<TextBlock Text="• Mit Pfad: C:\\Program Files\\App\\app.exe" TextWrapping="Wrap"/>
<TextBlock Text="• Mit Parametern: start "Titel" /min C:\\App\\app.exe arg1" TextWrapping="Wrap"/>
<TextBlock Text="• Bei Leerzeichen Pfade in "" setzen." TextWrapping="Wrap"/>
</StackPanel>
<TextBlock Text="Über mich" FontSize="13" FontWeight="SemiBold" Foreground="#1976D2" Margin="0,0,0,6"/>
<StackPanel Margin="15,0,0,12">
<TextBlock Text="Autor: Flecky13" TextWrapping="Wrap"/>
<TextBlock Text="E-Mail: github@hometepe.de" TextWrapping="Wrap"/>
<TextBlock Text="Projekt: https://github.com/Flecky13/TaskPilot" TextWrapping="Wrap"/>
</StackPanel>
<TextBlock Text="Updates" FontSize="13" FontWeight="SemiBold" Foreground="#1976D2" Margin="0,0,0,6"/>
<StackPanel Margin="15,0,0,0">
<TextBlock Text="Der Update-Check vergleicht die lokale Version mit der neuesten GitHub-Release." TextWrapping="Wrap"/>
</StackPanel>
</StackPanel>
</ScrollViewer>
<!-- Footer -->
<Border Grid.Row="2" Background="White" Padding="15" BorderBrush="#DDDDDD" BorderThickness="0,1,0,0">
<StackPanel Orientation="Horizontal" HorizontalAlignment="Right">
<Button Content="Release-Seite öffnen" Click="OpenReleases_Click" Padding="16,10" Margin="0,0,10,0" Background="#1976D2" Foreground="White" FontWeight="SemiBold"/>
<Button Content="Schließen" Click="Close_Click" Padding="20,10" Background="#9E9E9E" Foreground="White" FontWeight="SemiBold"/>
</StackPanel>
</Border>
</Grid>
</Window>