feat: add seating plans for learning groups

This commit is contained in:
admin committed 2026-08-17 01:01:40 +02:00
1 parent fbf70df439
commit fe36f51886
19 files changed
+771 -6

No files matched your search

@@ -0,0 +1,19 @@
using Avalonia.Controls;
using Avalonia.Interactivity;
using LehrerApp.Desktop.ViewModels.Groups;
namespace LehrerApp.Desktop.Views.Groups;
public partial class SeatingPlanDialog : Window
{
public SeatingPlanDialog() => InitializeComponent();
private void OnSave(object? sender, RoutedEventArgs e)
{
if (DataContext is not SeatingPlanDialogViewModel vm) return;
vm.SaveCommand.Execute(null);
if (vm.Result is not null) Close(true);
}
private void OnCancel(object? sender, RoutedEventArgs e) => Close(false);
}