示例#1
0
        internal void WantsBottom(DualTabbedLayoutItem item)
        {
            last_location = DualTabbedLayoutItem.Location.Bottom;

            ClearTabItem(item, tab_control_left);
            ClearTabItem(item, tab_control_right);
            ClearFloating(item);
            BuildTabItem(item, tab_control_bottom);
        }
示例#2
0
        internal void WantsFloating(DualTabbedLayoutItem item, bool set_last_location)
        {
            if (set_last_location)
            {
                last_location = DualTabbedLayoutItem.Location.Floating;
            }

            ClearTabItem(item, tab_control_left);
            ClearTabItem(item, tab_control_right);
            ClearTabItem(item, tab_control_bottom);

            Window window = BuildFloating(item);

            floating_windows.Add(window);
            window.Show();
        }