public void NotifyMembers(IGroupControl sender, GroupNotificationArgs e) { if (Owner != null && NotifyMembersAction != null) { NotifyMembersAction(this, new GroupNotificationArgs() { State = this.State, Data = this.Data }); } }
void item_NotifyMembersAction(IGroupControl sender, GroupNotificationArgs e) { foreach (var item in Items) { if (item != sender) { item.Notified(sender, e); } } }
public override void Notified(IGroupControl sender, GroupNotificationArgs e) { State = false; }
public virtual void Notified(IGroupControl sender, GroupNotificationArgs e) { }