Untis API Integration
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
using Avalonia.Controls;
|
||||
using Avalonia.Interactivity;
|
||||
using LehrerApp.Desktop.ViewModels.Groups;
|
||||
|
||||
namespace LehrerApp.Desktop.Views.Groups;
|
||||
|
||||
public partial class WebUntisClassSelectionDialog : Window
|
||||
{
|
||||
public WebUntisClassSelectionDialog() => InitializeComponent();
|
||||
private void OnCancel(object? sender, RoutedEventArgs e) => Close(false);
|
||||
private void OnConfirm(object? sender, RoutedEventArgs e)
|
||||
{
|
||||
if (DataContext is WebUntisClassSelectionViewModel { SelectedClass: not null }) Close(true);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user