20 lines
533 B
C#
20 lines
533 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using System.Dynamic;
|
|
using System.Runtime.CompilerServices;
|
|
using System.Xml.Serialization;
|
|
|
|
namespace 电子展板.Base
|
|
{
|
|
public class ModelBase : INotifyPropertyChanged
|
|
{
|
|
public event PropertyChangedEventHandler PropertyChanged;
|
|
|
|
public void NotifyPropertyChanged([CallerMemberName] string propertyname = null)
|
|
{
|
|
PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyname));
|
|
}
|
|
}
|
|
}
|