45 lines
1.1 KiB
C#
45 lines
1.1 KiB
C#
// Copyright (c) 2024- schick Informatik
|
|
// Description:
|
|
//
|
|
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Collections.ObjectModel;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using System.Windows;
|
|
using System.Windows.Controls;
|
|
using System.Windows.Data;
|
|
using System.Windows.Documents;
|
|
using System.Windows.Input;
|
|
using System.Windows.Media;
|
|
using System.Windows.Media.Imaging;
|
|
using System.Windows.Shapes;
|
|
|
|
namespace BreCalClient
|
|
{
|
|
/// <summary>
|
|
/// Interaction logic for NotificationDialog.xaml
|
|
/// </summary>
|
|
public partial class NotificationDialog : Window
|
|
{
|
|
public NotificationDialog()
|
|
{
|
|
InitializeComponent();
|
|
}
|
|
|
|
internal ObservableCollection<AppNotification>? AppNotifications { get; set; }
|
|
|
|
private void buttonClose_Click(object sender, RoutedEventArgs e)
|
|
{
|
|
this.Close();
|
|
}
|
|
|
|
private void Window_Loaded(object sender, RoutedEventArgs e)
|
|
{
|
|
this.dataGridNotifications.ItemsSource = AppNotifications;
|
|
}
|
|
}
|
|
}
|