Exemplo n.º 1
0
        public void RemoveDrawableGroup(string key)
        {
            DrawableGroup removeTarget = null;

            foreach (var drawableGroup in this.drawableGroups)
            {
                if (drawableGroup.GroupName.Equals(key))
                {
                    removeTarget = drawableGroup;
                    break;
                }
            }
            if (removeTarget == null)
            {
                return;
            }
            this.drawableGroups.Remove(removeTarget);
        }
Exemplo n.º 2
0
 public int CompareTo(DrawableGroup other)
 {
     return(priorty - other.priorty);
 }
Exemplo n.º 3
0
 public void AddDrawableGroup(DrawableGroup group)
 {
     this.drawableGroups.Add(group);
     this.drawableGroups.Sort(new DrawableGroup.DrawableGroupComparer());
 }