33 lines
869 B
C#
33 lines
869 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 ViolationListDialog : EditWindowBase
|
|
{
|
|
public ViolationListDialog()
|
|
{
|
|
InitializeComponent();
|
|
Loaded += ErrorListDialog_Loaded;
|
|
}
|
|
|
|
public List<MessageViolation> Violations { get; set; }
|
|
|
|
private void ErrorListDialog_Loaded(object sender, RoutedEventArgs e)
|
|
{
|
|
this.dataGridViolations.Initialize();
|
|
this.dataGridViolations.ItemsSource = this.Violations;
|
|
}
|
|
}
|
|
}
|