예제 #1
0
파일: Profile.cs 프로젝트: poutine70/UCR
 public void AddNewChildProfile(string title)
 {
     if (ChildProfiles == null)
     {
         ChildProfiles = new List <Profile>();
     }
     ChildProfiles.Add(CreateProfile(Context, title, this));
     Context.ContextChanged();
 }
예제 #2
0
 public void AddChildProfile(Profile profile)
 {
     if (ChildProfiles == null)
     {
         ChildProfiles = new List <Profile>();
     }
     profile.Context       = Context;
     profile.ParentProfile = this;
     ChildProfiles.Add(profile);
     Context.ContextChanged();
 }