예제 #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);
        }
예제 #2
0
 public int CompareTo(DrawableGroup other)
 {
     return(priorty - other.priorty);
 }
예제 #3
0
 public void AddDrawableGroup(DrawableGroup group)
 {
     this.drawableGroups.Add(group);
     this.drawableGroups.Sort(new DrawableGroup.DrawableGroupComparer());
 }