Files
Proftaak-RH-B4/Hashing/WPFStuff/ObservableObject.cs
shinichi 3acdc942bc move files and copy code
from stackoverflow :P
2020-10-19 14:53:47 +02:00

18 lines
429 B
C#

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;
namespace Util
{
public abstract class ObservableObject : INotifyPropertyChanged
{
public event PropertyChangedEventHandler PropertyChanged = (sender, e) => { };
public void OnPropertyChanged(string name)
{
PropertyChanged(this, new PropertyChangedEventArgs(name));
}
}
}