예제 #1
0
        private void GroupRemoved(object obj, Layer1.EventArgsGroup e)
        {
            Room room = Find(e.Group.Room);

            if (room.Remove(e.Group))
            {
                Remove(room);
            }
        }
예제 #2
0
        private void GroupAdded(object obj, Layer1.EventArgsGroup e)
        {
            Room room = Find(e.Group.Room);

            room.Add(e.Group);
        }