public ErrorList() { this.InitializeComponent(); this.DataContext = this; ErrorListener.ListenerUpdated += this.ErrorListener_ListenerUpdated; ErrorListener.Update(); }