12 lines
374 B
C#
12 lines
374 B
C#
using System.ComponentModel;
|
|
|
|
namespace Tetris.ViewsModels;
|
|
|
|
public class ViewModel : INotifyPropertyChanged {
|
|
public event PropertyChangedEventHandler PropertyChanged;
|
|
|
|
protected virtual void OnPropertyChanged(string propertyName) {
|
|
if (PropertyChanged != null)
|
|
PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
|
|
}
|
|
}
|