Neue Funktion Schüler austragen statt aus Kurs löschen.

This commit is contained in:
2026-08-15 23:38:42 +02:00
parent 52bb9c2c2f
commit da8d2bb1da
19 changed files with 473 additions and 114 deletions
@@ -0,0 +1,19 @@
using Avalonia.Controls;
using Avalonia.Interactivity;
using LehrerApp.Desktop.ViewModels.Groups;
namespace LehrerApp.Desktop.Views.Groups;
public partial class WithdrawStudentDialog : Window
{
public WithdrawStudentDialog() => InitializeComponent();
private void OnSave(object? sender, RoutedEventArgs e)
{
if (DataContext is not WithdrawStudentDialogViewModel vm) return;
vm.SaveCommand.Execute(null);
if (vm.WasSaved) Close(true);
}
private void OnCancel(object? sender, RoutedEventArgs e) => Close(false);
}