git_bsmd/ENI2/EditControls/SystemErrorDialog.xaml.cs

33 lines
808 B
C#

// Copyright (c) 2017 schick Informatik
// Description:
//
using System.Collections.Generic;
using System.Windows;
using ENI2.Controls;
using bsmd.database;
namespace ENI2.EditControls
{
/// <summary>
/// Interaction logic for SystemErrorDialog.xaml
/// </summary>
public partial class SystemErrorDialog : EditWindowBase
{
public SystemErrorDialog()
{
InitializeComponent();
Loaded += SystemErrorList_Loaded;
}
public List<SystemError> SystemErrors { get; set; }
private void SystemErrorList_Loaded(object sender, RoutedEventArgs e)
{
this.dataGridSystemErrors.Initialize();
this.dataGridSystemErrors.ItemsSource = this.SystemErrors;
}
}
}