SetOwner() private method

private SetOwner ( ObjectWrapper owner ) : void
owner ObjectWrapper
return void
示例#1
0
 void NotifyGroupRemoved(ActionGroup grp)
 {
     grp.SetOwner(null);
     grp.ObjectChanged -= OnGroupChanged;
     if (ActionGroupRemoved != null)
     {
         ActionGroupRemoved(this, new ActionGroupEventArgs(grp));
     }
 }
示例#2
0
 void NotifyGroupAdded(ActionGroup grp)
 {
     grp.SetOwner(owner);
     grp.ObjectChanged += OnGroupChanged;
     if (ActionGroupAdded != null)
     {
         ActionGroupAdded(this, new ActionGroupEventArgs(grp));
     }
 }
示例#3
0
		void NotifyGroupRemoved (ActionGroup grp)
		{
			grp.SetOwner (null);
			grp.ObjectChanged -= OnGroupChanged;
			if (ActionGroupRemoved != null)
				ActionGroupRemoved (this, new ActionGroupEventArgs (grp));
		}
示例#4
0
		void NotifyGroupAdded (ActionGroup grp)
		{
			grp.SetOwner (owner);
			grp.ObjectChanged += OnGroupChanged;
			if (ActionGroupAdded != null)
				ActionGroupAdded (this, new ActionGroupEventArgs (grp));
		}