private MiniUserUC GetUser(Person owner) { var usr = new MiniUserUC(); if (owner == null) { owner = new Person(); owner.Name = "SYSTEM"; owner.Color = Utils2.ColorToInt(Colors.Aqua); } usr.DataContext = owner; return(usr); }
private MiniUserUC GetUser(Person owner) { var usr = new MiniUserUC(); if (owner == null) { owner = new Person(); owner.Name = "SYSTEM"; owner.Color = Utils2.ColorToInt(Colors.Aqua); } usr.DataContext = owner; return usr; }