committed

This commit is contained in:
HuskyTeufel
2021-05-05 13:06:56 +02:00
parent 2c4bcde9c8
commit af01e537cf
17 changed files with 234 additions and 38 deletions

View File

@@ -0,0 +1,21 @@
using System;
using System.ComponentModel;
using System.Diagnostics;
using System.Runtime.CompilerServices;
namespace GuiWPF
{
public class NotificationObject : INotifyPropertyChanged
{
public event PropertyChangedEventHandler PropertyChanged;
protected virtual void OnPropertyChanged([CallerMemberName]string propertyName="")
{
if(PropertyChanged != null)
{
PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
Trace.WriteLine(string.Format("OnPropertyChanged {0}",propertyName));
}
}
}
}