Automatisches rollierendes Backup der Datenbank beim Start mit Wiederherstellung über die Einstellungen, versionierte Schema-Migration, optionale Passwort-Verschlüsselung der LiteDB-Datei und eine App-Sperre nach Inaktivität mit eigenem Passwort. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
19 lines
917 B
XML
19 lines
917 B
XML
<Window xmlns="https://github.com/avaloniaui"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
x:Class="LehrerApp.Desktop.Views.Shared.ConfirmDialog"
|
|
x:CompileBindings="False"
|
|
Title="{Binding Title}"
|
|
Width="420" SizeToContent="Height"
|
|
CanResize="False" WindowStartupLocation="CenterOwner">
|
|
<Grid RowDefinitions="*,Auto" Margin="24">
|
|
<StackPanel Grid.Row="0" Spacing="12">
|
|
<TextBlock Text="{Binding Title}" FontSize="18" FontWeight="SemiBold"/>
|
|
<TextBlock Text="{Binding Message}" TextWrapping="Wrap" Opacity="0.8"/>
|
|
</StackPanel>
|
|
<Grid Grid.Row="1" ColumnDefinitions="*,8,*" Margin="0,20,0,0">
|
|
<Button Grid.Column="0" Content="Abbrechen" HorizontalAlignment="Stretch" Click="OnCancel"/>
|
|
<Button Grid.Column="2" Content="{Binding ConfirmText}" HorizontalAlignment="Stretch" Click="OnConfirm"/>
|
|
</Grid>
|
|
</Grid>
|
|
</Window>
|