C# 变量改变事件
public event EventHandler isChanged;
private void RaiseisChanged()
{
var handler = isChanged;
if (handler != null)
{
handler(this,EventArgs.Empty);
}
}