void NotifyGroupRemoved(ActionGroup grp) { grp.SetOwner(null); grp.ObjectChanged -= OnGroupChanged; if (ActionGroupRemoved != null) { ActionGroupRemoved(this, new ActionGroupEventArgs(grp)); } }
void NotifyGroupAdded(ActionGroup grp) { grp.SetOwner(owner); grp.ObjectChanged += OnGroupChanged; if (ActionGroupAdded != null) { ActionGroupAdded(this, new ActionGroupEventArgs(grp)); } }
void NotifyGroupRemoved (ActionGroup grp) { grp.SetOwner (null); grp.ObjectChanged -= OnGroupChanged; if (ActionGroupRemoved != null) ActionGroupRemoved (this, new ActionGroupEventArgs (grp)); }
void NotifyGroupAdded (ActionGroup grp) { grp.SetOwner (owner); grp.ObjectChanged += OnGroupChanged; if (ActionGroupAdded != null) ActionGroupAdded (this, new ActionGroupEventArgs (grp)); }