Ejemplo n.º 1
0
        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);
        }
Ejemplo n.º 2
0
        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;
        }