33 lines
841 B
C#
33 lines
841 B
C#
// Copyright (c) 2017 schick Informatik
|
|
// Description: Darstellung einer Liste von NSW Fehlermeldungen in einem Grid
|
|
//
|
|
|
|
using System.Collections.Generic;
|
|
using System.Windows;
|
|
|
|
using bsmd.database;
|
|
using ENI2.Controls;
|
|
|
|
namespace ENI2.EditControls
|
|
{
|
|
/// <summary>
|
|
/// Interaction logic for ErrorListDialog.xaml
|
|
/// </summary>
|
|
public partial class ErrorListDialog : EditWindowBase
|
|
{
|
|
public ErrorListDialog()
|
|
{
|
|
InitializeComponent();
|
|
Loaded += ErrorListDialog_Loaded;
|
|
}
|
|
|
|
public List<MessageError> Errors { get; set; }
|
|
|
|
private void ErrorListDialog_Loaded(object sender, RoutedEventArgs e)
|
|
{
|
|
this.dataGridErrors.Initialize();
|
|
this.dataGridErrors.ItemsSource = this.Errors;
|
|
}
|
|
}
|
|
}
|