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