public void EntrySelected(int position)
        {
            UIObject obj = Items[position];

            if (!(obj is Zone) && obj.HasOnClick)
            {
                obj.CallOnClick();
            }
            else
            {
                ctrl.ShowScreen(ScreenTypes.Details, obj);
            }
        }
        /// <summary>
        /// Raises, when a entry is selected.
        /// </summary>
        /// <param name="pos">Position.</param>
        public void EntrySelected(int pos)
        {
            switch (pos)
            {
            case 0:
                var listZones = ctrl.Engine.ActiveVisibleZones;
                if (listZones.Count > 0)
                {
//                                                if (listZones.Count == 1)
//                                                {
//                                                        ctrl.ShowScreen(ScreenType.Details, listZones[0]);
//                                                }
//                                                else
                    {
                        ctrl.ShowScreen(ScreenTypes.Locations, null);
                    }
                }
                break;

            case 1:
                var listObjects = ctrl.Engine.VisibleObjects;
                if (listObjects.Count > 0)
                {
//                                                if (listObjects.Count == 1)
//                                                {
//                                                        if (listObjects[0].HasOnClick)
//                                                        {
//                                                                listObjects[0].CallOnClick();
//                                                        }
//                                                        else
//                                                        {
//                                                                ctrl.ShowScreen(ScreenType.Details, listObjects[0]);
//                                                        }
//                                                }
//                                                else
                    {
                        ctrl.ShowScreen(ScreenTypes.Items, null);
                    }
                }
                break;

            case 2:
                var listInventory = ctrl.Engine.VisibleInventory;
                if (listInventory.Count > 0)
                {
//                                                if (listInventory.Count == 1)
//                                                {
//                                                        if (listInventory[0].HasOnClick)
//                                                        {
//                                                                listInventory[0].CallOnClick();
//                                                        }
//                                                        else
//                                                        {
//                                                                ctrl.ShowScreen(ScreenType.Details, listInventory[0]);
//                                                        }
//                                                }
//                                                else
                    {
                        ctrl.ShowScreen(ScreenTypes.Inventory, null);
                    }
                }
                break;

            case 3:
                var listTasks = ctrl.Engine.ActiveVisibleTasks;
                if (listTasks.Count > 0)
                {
//                                                if (listTasks.Count == 1)
//                                                {
//                                                        if (listTasks[0].HasOnClick)
//                                                        {
//                                                                listTasks[0].CallOnClick();
//                                                        }
//                                                        else
//                                                        {
//                                                                ctrl.ShowScreen(ScreenType.Details, listTasks[0]);
//                                                        }
//                                                }
//                                                else
                    {
                        ctrl.ShowScreen(ScreenTypes.Tasks, null);
                    }
                }
                break;

            case 4:
                break;
            }
        }