예제 #1
0
        public ListBoxSelectionChangedEventArgs(int oldIndex, int newIndex, IListBoxItem oldItem, IListBoxItem newItem)
        {
            OldIndex = oldIndex;
            NewIndex = newIndex;

            OldItem = oldItem;
            NewItem = newItem;
        }
        public int CompareTo(IListBoxItem other)
        {
            CreatureResource creature = other as CreatureResource;

            if (creature != null)
            {
                return(CompareTo(creature));
            }
            return(0);
        }
예제 #3
0
        public int CompareTo(IListBoxItem other)
        {
            PlaceableResource place = other as PlaceableResource;

            if (place != null)
            {
                return(CompareTo(place));
            }
            return(0);
        }
        public int CompareTo(IListBoxItem other)
        {
            WaypointResource way = other as WaypointResource;

            if (way != null)
            {
                return(CompareTo(way));
            }
            return(0);
        }
        public int CompareTo(IListBoxItem other)
        {
            LightResource light = other as LightResource;

            if (light != null)
            {
                return(CompareTo(light));
            }
            return(0);
        }
예제 #6
0
        public int CompareTo(IListBoxItem other)
        {
            ItemResource item = other as ItemResource;

            if (item != null)
            {
                return(CompareTo(item));
            }
            return(0);
        }
        public int CompareTo(IListBoxItem other)
        {
            VisualEffectResource vfx = other as VisualEffectResource;

            if (vfx != null)
            {
                return(CompareTo(vfx));
            }
            return(0);
        }
        public int CompareTo(IListBoxItem other)
        {
            TrapResource trap = other as TrapResource;

            if (trap != null)
            {
                return(CompareTo(trap));
            }
            return(0);
        }
 public int CompareTo(IListBoxItem other)
 {
     LightResource light = other as LightResource;
     if (light != null) return CompareTo(light);
     return 0;
 }
 public int CompareTo(IListBoxItem other)
 {
     ItemResource item = other as ItemResource;
     if (item != null) return CompareTo(item);
     return 0;
 }
 public int CompareTo(IListBoxItem other)
 {
     CreatureResource creature = other as CreatureResource;
     if (creature != null) return CompareTo(creature);
     return 0;
 }
 public int CompareTo(IListBoxItem other)
 {
     TrapResource trap = other as TrapResource;
     if (trap != null) return CompareTo(trap);
     return 0;
 }
 public int CompareTo(IListBoxItem other)
 {
     WaypointResource way = other as WaypointResource;
     if (way != null) return CompareTo(way);
     return 0;
 }
 public int CompareTo(IListBoxItem other)
 {
     PlaceableResource place = other as PlaceableResource;
     if (place != null) return CompareTo(place);
     return 0;
 }
 public int CompareTo(IListBoxItem other)
 {
     VisualEffectResource vfx = other as VisualEffectResource;
     if (vfx != null) return CompareTo(vfx);
     return 0;
 }