コード例 #1
0
        public void ShowSelection()
        {
            var desktop = GuiManager.Screen.Desktop;

            if (SelectionWindow.ClassList.Items.Count > 0 && SelectionWindow.ClassList.SelectedItems.Count == 0)
            {
                SelectionWindow.ClassList.SelectItem(0);
            }

            SelectionWindow.LayoutFlags = ControlLayoutFlags.Center;
            desktop.Children.Add(SelectionWindow);
            SelectionWindow.Update();

            desktop.UpdateLayout();
        }