示例#1
0
        private void m_tabs_PageContextMenu(Crownwood.Magic.Controls.TabbedGroups tg, Crownwood.Magic.Controls.TGContextMenuEventArgs e)
        {
            e.ContextMenu.MenuCommands.Add(new Crownwood.Magic.Menus.MenuCommand(I.T("New tab|101"), new EventHandler(m_menuNouvelOnglet_Click)));
            m_pageContextMenu = e.TabPage;

            MenuCommand command = new Crownwood.Magic.Menus.MenuCommand(I.T("Direct new pages to this tab|102"),
                                                                        new EventHandler(OnOrienterNouveauxIci));

            command.Checked = m_pageRecepteurUniverselle == m_pageContextMenu;
            e.ContextMenu.MenuCommands.Add(command);
        }
示例#2
0
		protected void InternalConstruct(TabbedGroups tabbedGroups, TabGroupBase parent)
		{
		    // Assign initial values
		    _tabbedGroups = tabbedGroups;
		    _parent = parent;
		    _unique = _count++;
		    
		    // Defaults
		    _tag = null;
		    _space = 100m;
		    _minSize = new Size(_tabbedGroups.DefaultGroupMinimumWidth,
		                        _tabbedGroups.DefaultGroupMinimumHeight);
		}
示例#3
0
        protected void InternalConstruct(TabbedGroups tabbedGroups, TabGroupBase parent)
        {
            // Assign initial values
            _tabbedGroups = tabbedGroups;
            _parent       = parent;
            _unique       = _count++;

            // Defaults
            _tag     = null;
            _space   = 100m;
            _minSize = new Size(_tabbedGroups.DefaultGroupMinimumWidth,
                                _tabbedGroups.DefaultGroupMinimumHeight);
        }
示例#4
0
 private void m_tabs_PageCloseRequest(Crownwood.Magic.Controls.TabbedGroups tg, Crownwood.Magic.Controls.TGCloseRequestEventArgs e)
 {
     if (m_tabs.RootSequence.Count == 1)
     {
         TabGroupLeaf leaf = m_tabs.FirstLeaf();
         if (leaf.TabPages.Count == 1)
         {
             CFormAlerte.Afficher(I.T("Impossible to close the unique thumbnail of the application|100"), EFormAlerteType.Erreur);
             e.Cancel = true;
         }
         else
         {
             e.Cancel = false;
         }
     }
 }
示例#5
0
        private void ExternalDrop(Crownwood.Magic.Controls.TabbedGroups tg,
                                  Crownwood.Magic.Controls.TabGroupLeaf tgl,
                                  Crownwood.Magic.Controls.TabControl tc,
                                  Crownwood.Magic.Controls.TabbedGroups.DragProvider dp)
        {
            // Create a new tab page
            Crownwood.Magic.Controls.TabPage tp = NewTabPage();

            // Define the text in this control
            (tp.Control as RichTextBox).Text = "Dragged from node '" + (string)dp.Tag + "'";

            // We want the new page to become selected
            tp.Selected = true;

            // Add new page into the destination tab control
            tgl.TabPages.Add(tp);
        }
示例#6
0
        public TabGroupLeaf(TabbedGroups tabbedGroups, TabGroupBase parent)
            : base(tabbedGroups, parent)
        {
            // Create our managed tab control instance
            _tabControl = new Controls.TabControl();

            // We need page drag to begin when mouse dragged a small distance
            _tabControl.DragFromControl = false;

            // We need to monitor attempts to drag into the tab control
            _dragEntered           = false;
            _tabControl.AllowDrop  = true;
            _tabControl.DragDrop  += new DragEventHandler(OnControlDragDrop);
            _tabControl.DragEnter += new DragEventHandler(OnControlDragEnter);
            _tabControl.DragLeave += new EventHandler(OnControlDragLeave);

            // Need notification when page drag begins
            _tabControl.PageDragStart += new MouseEventHandler(OnPageDragStart);
            _tabControl.PageDragMove  += new MouseEventHandler(OnPageDragMove);
            _tabControl.PageDragEnd   += new MouseEventHandler(OnPageDragEnd);
            _tabControl.PageDragQuit  += new MouseEventHandler(OnPageDragQuit);

            // Hook into tab page collection events
            _tabControl.TabPages.Cleared  += new CollectionClear(OnTabPagesCleared);
            _tabControl.TabPages.Inserted += new CollectionChange(OnTabPagesInserted);
            _tabControl.TabPages.Removed  += new CollectionChange(OnTabPagesRemoved);

            // Hook into page level events
            _tabControl.GotFocus     += new EventHandler(OnGainedFocus);
            _tabControl.PageGotFocus += new EventHandler(OnGainedFocus);
            _tabControl.ClosePressed += new EventHandler(OnClose);

            // Manager only created at start of drag operation
            _targetManager = null;

            DefinePopupMenuForControl(_tabControl);

            // Setup the correct 'HideTabsMode' for the control
            Notify(TabGroupBase.NotifyCode.DisplayTabMode);

            // Define the default setup of TabControl and allow developer to customize
            _tabbedGroups.OnTabControlCreated(_tabControl);
        }
        public TabGroupLeaf(TabbedGroups tabbedGroups, TabGroupBase parent)
            : base(tabbedGroups, parent)
        {
            // Create our managed tab control instance
            _tabControl = new Controls.TabControl();

            // We need page drag to begin when mouse dragged a small distance
            _tabControl.DragFromControl = false;

            // We need to monitor attempts to drag into the tab control
            _dragEntered = false;
            _tabControl.AllowDrop = true;
            _tabControl.DragDrop += new DragEventHandler(OnControlDragDrop);
            _tabControl.DragEnter += new DragEventHandler(OnControlDragEnter);
            _tabControl.DragLeave += new EventHandler(OnControlDragLeave);

            // Need notification when page drag begins
            _tabControl.PageDragStart += new MouseEventHandler(OnPageDragStart);
            _tabControl.PageDragMove += new MouseEventHandler(OnPageDragMove);
            _tabControl.PageDragEnd += new MouseEventHandler(OnPageDragEnd);
            _tabControl.PageDragQuit += new MouseEventHandler(OnPageDragQuit);

            // Hook into tab page collection events
            _tabControl.TabPages.Cleared += new CollectionClear(OnTabPagesCleared);
            _tabControl.TabPages.Inserted += new CollectionChange(OnTabPagesInserted);
            _tabControl.TabPages.Removed += new CollectionChange(OnTabPagesRemoved);

            // Hook into page level events
            _tabControl.GotFocus += new EventHandler(OnGainedFocus);
            _tabControl.PageGotFocus += new EventHandler(OnGainedFocus);
            _tabControl.ClosePressed += new EventHandler(OnClose);

            // Manager only created at start of drag operation
            _targetManager = null;

            DefinePopupMenuForControl(_tabControl);

            // Setup the correct 'HideTabsMode' for the control
            Notify(TabGroupBase.NotifyCode.DisplayTabMode);

            // Define the default setup of TabControl and allow developer to customize
            _tabbedGroups.OnTabControlCreated(_tabControl);
        }
示例#8
0
        public TargetManager(TabbedGroups host, TabGroupLeaf leaf, Controls.TabControl source)
        {
            // Define state
            _host       = host;
            _leaf       = leaf;
            _source     = source;
            _lastTarget = null;

            // Create collection to hold generated targets
            _targets = new TargetCollection();

            // Process each potential leaf in turn
            TabGroupLeaf tgl = host.FirstLeaf();

            while (tgl != null)
            {
                // Create all possible targets for this leaf
                CreateTargets(tgl);

                // Enumerate all leafs
                tgl = host.NextLeaf(tgl);
            }
        }
示例#9
0
        protected void CompactReduceSameDirection(TabbedGroups.CompactFlags flags)
        {
            bool changed = false;

            // Should we check for same direction sub-sequences?
            if ((flags & Controls.TabbedGroups.CompactFlags.ReduceSameDirection) != 0)
            {
                int count = _children.Count;

                for(int index=0; index<count; index++)
                {
                    // Only interested in sequence entries
                    if (_children[index].IsSequence)
                    {
                        TabGroupSequence tgs = (TabGroupSequence)_children[index];

                        // Does it run in same direction as ourself?
                        if (_direction == tgs.Direction)
                        {
                            // Remember how much space the base entry occupies
                            Decimal temp = tgs.RealSpace;

                            // Find the child control to be replaced
                            int childPos = _control.Controls.IndexOf(tgs.GroupControl);

                            // Need to remove a resize bar before the control?
                            if (childPos > 0)
                                ControlHelper.RemoveAt(_control.Controls, childPos);

                            // Remove the actual control
                            ControlHelper.RemoveAt(_control.Controls, childPos);

                            // Remove the intermediate group
                            _children.RemoveAt(index);

                            // Reflect change in size
                            count--;

                            Decimal totalAllocated = 0m;

                            // Add in each sub group in turn
                            int subCount = tgs.Count;

                            bool firstInsert = true;

                            for(int subIndex=0; subIndex<subCount; subIndex++)
                            {
                                TabGroupBase tgb = tgs[subIndex];

                                // What percentage of original space did it have?
                                Decimal orig = tgb.RealSpace;

                                // Give it the same proportion of new space
                                Decimal update = Decimal.Round(temp / 100 * orig, SPACE_PRECISION);

                                // Keep total actually allocated
                                totalAllocated += update;

                                // Use new proportion
                                tgb.RealSpace = update;

                                // Update parentage
                                tgb.SetParent(this);

                                // Does new child control need a resizing bar?
                                if ((childPos > 0) && !firstInsert)
                                {
                                    // Create a resizing bar
                                    ResizeBar bar = new ResizeBar(_direction, this);

                                    _control.Controls.Add(bar);
                                    _control.Controls.SetChildIndex(bar, childPos++);
                                }

                                // Add new child control in its place
                                _control.Controls.Add(tgb.GroupControl);
                                _control.Controls.SetChildIndex(tgb.GroupControl, childPos++);

                                // Insert at current position
                                _children.Insert(index, tgb);

                                // Adjust variables to reflect increased size
                                index++;
                                count++;
                                firstInsert = false;
                            }

                            // Assign any remainder to last group
                            _children[index-1].RealSpace +=  temp - totalAllocated;

                            // Need controls repositioned
                            changed = true;

                            // Mark layout as dirty
                            if (_tabbedGroups.AutoCalculateDirty)
                                _tabbedGroups.Dirty = true;
                        }
                    }
                }
            }

            // Change in contents requires entries to be repositioned
            if (changed)
                RepositionChildren();
        }
示例#10
0
 public TabGroupSequence(TabbedGroups tabbedGroups, TabGroupBase parent)
     : base(tabbedGroups, parent)
 {
     InternalConstruct(null, Direction.Horizontal);
 }
示例#11
0
 public TabGroupSequence(TabbedGroups tabbedGroups, TabGroupBase parent, Direction direction)
     : base(tabbedGroups, parent)
 {
     InternalConstruct(null, direction);
 }
示例#12
0
        public void Compact(TabbedGroups.CompactFlags flags)
        {
            // Compact each child sequence
            foreach(TabGroupBase tgb in _children)
                if (tgb.IsSequence)
                    (tgb as TabGroupSequence).Compact(flags);

            // Remove dangling entries
            CompactRemoveEmptyTabLeafs(flags);
            CompactRemoveEmptyTabSequences(flags);

            // Integrate single entries
            CompactReduceSingleEntries(flags);

            // Integrate sub-sequences which run in same direction
            CompactReduceSameDirection(flags);
        }
示例#13
0
 public TabGroupSequence(TabbedGroups tabbedGroups)
     : base(tabbedGroups)
 {
     // Root instance always defaults to being horizontal
     InternalConstruct(tabbedGroups, Direction.Horizontal);
 }
示例#14
0
 private void PageLoading(Crownwood.Magic.Controls.TabbedGroups tg, Crownwood.Magic.Controls.TGPageLoadingEventArgs e)
 {
     // Read back the text box contents
     (e.TabPage.Control as RichTextBox).Text = e.XmlIn.ReadString();
 }
示例#15
0
        protected void CompactRemoveEmptyTabSequences(TabbedGroups.CompactFlags flags)
        {
            // Should we check for empty sequence nodes?
            if ((flags & Controls.TabbedGroups.CompactFlags.RemoveEmptyTabSequence) != 0)
            {
                int count = _children.Count;

                for(int index=0; index<count; index++)
                {
                    // Only interested in sequence entries
                    if (_children[index].IsSequence)
                    {
                        TabGroupSequence tgs = (TabGroupSequence)_children[index];

                        // Is this an empty sequence node?
                        if (tgs.Count == 0)
                        {
                            // Need to remove the redundant entry
                            RemoveAt(index);

                            // Reduce number of entries left to check
                            count--;

                            // Move backwards so the next increment stays on same index
                            index--;

                            // Mark layout as dirty
                            if (_tabbedGroups.AutoCalculateDirty)
                                _tabbedGroups.Dirty = true;
                        }
                    }
                }
            }
        }
示例#16
0
 public TabGroupBase(TabbedGroups tabbedGroups)
 {
     InternalConstruct(tabbedGroups, null);
 }
示例#17
0
 private void PageSaving(Crownwood.Magic.Controls.TabbedGroups tg, Crownwood.Magic.Controls.TGPageSavingEventArgs e)
 {
     // Persist the text box contents
     e.XmlOut.WriteCData((e.TabPage.Control as RichTextBox).Text);
 }
示例#18
0
 private void GlobalSaving(Crownwood.Magic.Controls.TabbedGroups tg, System.Xml.XmlTextWriter xmlOut)
 {
     // Persist the global text box contents
     xmlOut.WriteCData(_global.Text);
 }
示例#19
0
        protected void CompactReduceSingleEntries(TabbedGroups.CompactFlags flags)
        {
            bool changed = false;

            // Should we check for single instance nodes?
            if ((flags & Controls.TabbedGroups.CompactFlags.ReduceSingleEntries) != 0)
            {
                int count = _children.Count;

                for(int index=0; index<count; index++)
                {
                    // Only interested in sequence entries
                    if (_children[index].IsSequence)
                    {
                        TabGroupSequence tgs = (TabGroupSequence)_children[index];

                        // Does this entry only have a single child
                        if (tgs.Count == 1)
                        {
                            // Remember how much space the base entry occupies
                            Decimal temp = tgs.RealSpace;

                            // Get reference to only child
                            TabGroupBase child = tgs[0];

                            // Update parentage
                            child.SetParent(this);

                            // Find the child control to be replaced
                            int childPos = _control.Controls.IndexOf(tgs.GroupControl);

                            // Remove it
                            ControlHelper.RemoveAt(_control.Controls, childPos);

                            // Add new child control in its place
                            _control.Controls.Add(child.GroupControl);
                            _control.Controls.SetChildIndex(child.GroupControl, childPos);

                            // Replace the middle object with the child
                            _children.RemoveAt(index);
                            _children.Insert(index, child);

                            // Restore its correct spacing
                            child.RealSpace = temp;

                            // Need controls repositioned
                            changed = true;

                            // Mark layout as dirty
                            if (_tabbedGroups.AutoCalculateDirty)
                                _tabbedGroups.Dirty = true;
                        }
                    }
                }
            }

            // Change in contents requires entries to be repositioned
            if (changed)
                RepositionChildren();
        }
示例#20
0
 private void GlobalLoading(Crownwood.Magic.Controls.TabbedGroups tg, System.Xml.XmlTextReader xmlIn)
 {
     // Read back the global text box contents
     _global.Text = xmlIn.ReadString();
 }
示例#21
0
 //---------------------------------------------------------------------------
 #region Windows Form Designer generated code
 /// <summary>
 /// Méthode requise pour la prise en charge du concepteur - ne modifiez pas
 /// le contenu de cette méthode avec l'éditeur de code.
 /// </summary>
 private void InitializeComponent()
 {
     this.m_tabs             = new Crownwood.Magic.Controls.TabbedGroups();
     this.m_extStyle         = new sc2i.win32.common.CExtStyle();
     this.m_panelForMainTabs = new System.Windows.Forms.Panel();
     ((System.ComponentModel.ISupportInitialize)(this.m_tabs)).BeginInit();
     this.m_panelForMainTabs.SuspendLayout();
     this.SuspendLayout();
     //
     // m_tabs
     //
     this.m_tabs.AllowDrop             = true;
     this.m_tabs.AtLeastOneLeaf        = true;
     this.m_tabs.BackColor             = System.Drawing.Color.LightBlue;
     this.m_tabs.CloseMenuText         = "&Fermer";
     this.m_tabs.CloseShortcut         = System.Windows.Forms.Shortcut.None;
     this.m_tabs.Dock                  = System.Windows.Forms.DockStyle.Fill;
     this.m_tabs.Location              = new System.Drawing.Point(0, 0);
     this.m_tabs.MoveNextMenuText      = "Entrer dans le groupe &Suivant";
     this.m_tabs.MovePreviousMenuText  = "Entre dans le groupe &Précédent";
     this.m_tabs.Name                  = "m_tabs";
     this.m_tabs.NewHorizontalMenuText = "Nouveau groupe &Horizontal";
     this.m_tabs.NewVerticalMenuText   = "Nouveau groupe &Vertical";
     this.m_tabs.PageCloseWhenEmpty    = true;
     this.m_tabs.ProminentLeaf         = null;
     this.m_tabs.ProminentMenuText     = "&En avant";
     this.m_tabs.RebalanceMenuText     = "&Reéquiliber les pages";
     this.m_tabs.ResizeBarColor        = System.Drawing.Color.LightGray;
     this.m_tabs.Size                  = new System.Drawing.Size(360, 263);
     this.m_extStyle.SetStyleBackColor(this.m_tabs, sc2i.win32.common.CExtStyle.EnumCouleurs.None);
     this.m_extStyle.SetStyleForeColor(this.m_tabs, sc2i.win32.common.CExtStyle.EnumCouleurs.None);
     this.m_tabs.TabIndex           = 1;
     this.m_tabs.PageCloseRequest  += new Crownwood.Magic.Controls.TabbedGroups.PageCloseRequestHandler(this.m_tabs_PageCloseRequest);
     this.m_tabs.PageContextMenu   += new Crownwood.Magic.Controls.TabbedGroups.PageContextMenuHandler(this.m_tabs_PageContextMenu);
     this.m_tabs.ActiveLeafChanged += new System.EventHandler(this.m_tabs_ActiveLeafChanged);
     this.m_tabs.TabIndexChanged   += new System.EventHandler(this.m_tabs_TabIndexChanged);
     //
     // m_panelForMainTabs
     //
     this.m_panelForMainTabs.Controls.Add(this.m_tabs);
     this.m_panelForMainTabs.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.m_panelForMainTabs.Location = new System.Drawing.Point(0, 0);
     this.m_panelForMainTabs.Name     = "m_panelForMainTabs";
     this.m_panelForMainTabs.Size     = new System.Drawing.Size(360, 263);
     this.m_extStyle.SetStyleBackColor(this.m_panelForMainTabs, sc2i.win32.common.CExtStyle.EnumCouleurs.None);
     this.m_extStyle.SetStyleForeColor(this.m_panelForMainTabs, sc2i.win32.common.CExtStyle.EnumCouleurs.None);
     this.m_panelForMainTabs.TabIndex = 2;
     //
     // CFormNavigateur
     //
     this.BackColor  = System.Drawing.SystemColors.ActiveCaptionText;
     this.ClientSize = new System.Drawing.Size(360, 263);
     this.Controls.Add(this.m_panelForMainTabs);
     this.KeyPreview = true;
     this.Name       = "CFormNavigateur";
     this.m_extStyle.SetStyleBackColor(this, sc2i.win32.common.CExtStyle.EnumCouleurs.None);
     this.m_extStyle.SetStyleForeColor(this, sc2i.win32.common.CExtStyle.EnumCouleurs.None);
     this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.CFormNavigateur_FormClosing);
     this.Load        += new System.EventHandler(this.CFormNavigateur_Load);
     this.KeyDown     += new System.Windows.Forms.KeyEventHandler(this.CFormNavigateur_KeyDown);
     ((System.ComponentModel.ISupportInitialize)(this.m_tabs)).EndInit();
     this.m_panelForMainTabs.ResumeLayout(false);
     this.ResumeLayout(false);
 }
示例#22
0
 private void TabControlCreated(Crownwood.Magic.Controls.TabbedGroups tg, Crownwood.Magic.Controls.TabControl tc)
 {
     // This is where you change the tab control defaults when a new tab control is created
 }
示例#23
0
        protected void CompactRemoveEmptyTabLeafs(TabbedGroups.CompactFlags flags)
        {
            // Should we check for empty leaf nodes?
            if ((flags & Controls.TabbedGroups.CompactFlags.RemoveEmptyTabLeaf) != 0)
            {
                int count = _children.Count;

                for(int index=0; index<count; index++)
                {
                    // Only interested in leaf entries
                    if (_children[index].IsLeaf)
                    {
                        TabGroupLeaf tgl = (TabGroupLeaf)_children[index];

                        // Is this an empty leaf node?
                        if (tgl.Count == 0)
                        {
                            // Update active leaf setting
                            if (_tabbedGroups.ActiveLeaf == tgl)
                            {
                                TabGroupLeaf newLeaf = _tabbedGroups.NextLeaf(tgl);

                                if (newLeaf == null)
                                    newLeaf = _tabbedGroups.PreviousLeaf(tgl);

                                _tabbedGroups.ActiveLeaf = newLeaf;
                            }

                            // Need to remove the redundant entry
                            RemoveAt(index);

                            // Reduce number of entries left to check
                            count--;

                            // Move backwards so the next increment stays on same index
                            index--;

                            // Mark layout as dirty
                            if (_tabbedGroups.AutoCalculateDirty)
                                _tabbedGroups.Dirty = true;
                        }
                    }
                }
            }
        }
示例#24
0
 public TabGroupBase(TabbedGroups tabbedGroups)
 {
     InternalConstruct(tabbedGroups, null);
 }
        public TargetManager(TabbedGroups host, TabGroupLeaf leaf, Controls.TabControl source)
        {
            // Define state
            _host = host;
            _leaf = leaf;
            _source = source;
            _lastTarget = null;

            // Create collection to hold generated targets
            _targets = new TargetCollection();

            // Process each potential leaf in turn
            TabGroupLeaf tgl = host.FirstLeaf();

            while(tgl != null)
            {
                // Create all possible targets for this leaf
                CreateTargets(tgl);

                // Enumerate all leafs
                tgl = host.NextLeaf(tgl);
            }
        }
示例#26
0
 public TabGroupBase(TabbedGroups tabbedGroups, TabGroupBase parent)
 {
     InternalConstruct(tabbedGroups, parent);
 }
示例#27
0
 public TabGroupBase(TabbedGroups tabbedGroups, TabGroupBase parent)
 {
     InternalConstruct(tabbedGroups, parent);
 }
示例#28
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(SampleForm));
     this.menuControl1  = new Crownwood.Magic.Menus.MenuControl();
     this.statusBar1    = new System.Windows.Forms.StatusBar();
     this.tabControl1   = new Crownwood.Magic.Controls.TabControl();
     this.mainTabs      = new System.Windows.Forms.ImageList(this.components);
     this.tabPage2      = new Crownwood.Magic.Controls.TabPage();
     this.tabbedGroups2 = new Crownwood.Magic.Controls.TabbedGroups();
     this.groupTabs     = new System.Windows.Forms.ImageList(this.components);
     this.tabPage1      = new Crownwood.Magic.Controls.TabPage();
     this.tabbedGroups1 = new Crownwood.Magic.Controls.TabbedGroups();
     this.tabPage3      = new Crownwood.Magic.Controls.TabPage();
     this.tabbedGroups3 = new Crownwood.Magic.Controls.TabbedGroups();
     this.tabPage2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.tabbedGroups2)).BeginInit();
     this.tabPage1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.tabbedGroups1)).BeginInit();
     this.tabPage3.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.tabbedGroups3)).BeginInit();
     this.SuspendLayout();
     //
     // menuControl1
     //
     this.menuControl1.AnimateStyle       = Crownwood.Magic.Menus.Animation.System;
     this.menuControl1.AnimateTime        = 100;
     this.menuControl1.Cursor             = System.Windows.Forms.Cursors.Arrow;
     this.menuControl1.Direction          = Crownwood.Magic.Common.Direction.Horizontal;
     this.menuControl1.Dock               = System.Windows.Forms.DockStyle.Top;
     this.menuControl1.Font               = new System.Drawing.Font("Tahoma", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.World);
     this.menuControl1.HighlightTextColor = System.Drawing.SystemColors.MenuText;
     this.menuControl1.Name               = "menuControl1";
     this.menuControl1.Size               = new System.Drawing.Size(512, 25);
     this.menuControl1.Style              = Crownwood.Magic.Common.VisualStyle.IDE;
     this.menuControl1.TabIndex           = 0;
     this.menuControl1.TabStop            = false;
     this.menuControl1.Text               = "menuControl1";
     //
     // statusBar1
     //
     this.statusBar1.Location = new System.Drawing.Point(0, 455);
     this.statusBar1.Name     = "statusBar1";
     this.statusBar1.Size     = new System.Drawing.Size(512, 22);
     this.statusBar1.TabIndex = 1;
     this.statusBar1.Text     = "statusBar1";
     //
     // tabControl1
     //
     this.tabControl1.Dock          = System.Windows.Forms.DockStyle.Fill;
     this.tabControl1.HideTabsMode  = Crownwood.Magic.Controls.TabControl.HideTabsModes.ShowAlways;
     this.tabControl1.ImageList     = this.mainTabs;
     this.tabControl1.Location      = new System.Drawing.Point(0, 25);
     this.tabControl1.Name          = "tabControl1";
     this.tabControl1.SelectedIndex = 0;
     this.tabControl1.SelectedTab   = this.tabPage1;
     this.tabControl1.Size          = new System.Drawing.Size(512, 430);
     this.tabControl1.TabIndex      = 2;
     this.tabControl1.TabPages.AddRange(new Crownwood.Magic.Controls.TabPage[] {
         this.tabPage1,
         this.tabPage2,
         this.tabPage3
     });
     //
     // mainTabs
     //
     this.mainTabs.ColorDepth       = System.Windows.Forms.ColorDepth.Depth8Bit;
     this.mainTabs.ImageSize        = new System.Drawing.Size(16, 16);
     this.mainTabs.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("mainTabs.ImageStream")));
     this.mainTabs.TransparentColor = System.Drawing.Color.Transparent;
     //
     // tabPage2
     //
     this.tabPage2.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.tabbedGroups2
     });
     this.tabPage2.ImageIndex = 1;
     this.tabPage2.Name       = "tabPage2";
     this.tabPage2.Selected   = false;
     this.tabPage2.TabIndex   = 1;
     this.tabPage2.Title      = "Group2";
     //
     // tabbedGroups2
     //
     this.tabbedGroups2.ActiveLeaf         = null;
     this.tabbedGroups2.AllowDrop          = true;
     this.tabbedGroups2.AtLeastOneLeaf     = true;
     this.tabbedGroups2.Dock               = System.Windows.Forms.DockStyle.Fill;
     this.tabbedGroups2.ImageList          = this.groupTabs;
     this.tabbedGroups2.Name               = "tabbedGroups2";
     this.tabbedGroups2.ProminentLeaf      = null;
     this.tabbedGroups2.ResizeBarColor     = System.Drawing.SystemColors.Control;
     this.tabbedGroups2.Size               = new System.Drawing.Size(384, 301);
     this.tabbedGroups2.TabIndex           = 0;
     this.tabbedGroups2.TabControlCreated += new Crownwood.Magic.Controls.TabbedGroups.TabControlCreatedHandler(this.TabControlCreated);
     this.tabbedGroups2.PageSaving        += new Crownwood.Magic.Controls.TabbedGroups.PageSavingHandler(this.PageSaving);
     this.tabbedGroups2.ExternalDrop      += new Crownwood.Magic.Controls.TabbedGroups.ExternalDropHandler(this.ExternalDrop);
     this.tabbedGroups2.PageLoading       += new Crownwood.Magic.Controls.TabbedGroups.PageLoadingHandler(this.PageLoading);
     this.tabbedGroups2.GlobalLoading     += new Crownwood.Magic.Controls.TabbedGroups.GlobalLoadingHandler(this.GlobalLoading);
     this.tabbedGroups2.GlobalSaving      += new Crownwood.Magic.Controls.TabbedGroups.GlobalSavingHandler(this.GlobalSaving);
     //
     // groupTabs
     //
     this.groupTabs.ColorDepth       = System.Windows.Forms.ColorDepth.Depth8Bit;
     this.groupTabs.ImageSize        = new System.Drawing.Size(16, 16);
     this.groupTabs.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("groupTabs.ImageStream")));
     this.groupTabs.TransparentColor = System.Drawing.Color.Transparent;
     //
     // tabPage1
     //
     this.tabPage1.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.tabbedGroups1
     });
     this.tabPage1.ImageIndex = 0;
     this.tabPage1.Name       = "tabPage1";
     this.tabPage1.TabIndex   = 0;
     this.tabPage1.Title      = "Group1";
     //
     // tabbedGroups1
     //
     this.tabbedGroups1.ActiveLeaf         = null;
     this.tabbedGroups1.AllowDrop          = true;
     this.tabbedGroups1.AtLeastOneLeaf     = true;
     this.tabbedGroups1.Dock               = System.Windows.Forms.DockStyle.Fill;
     this.tabbedGroups1.ImageList          = this.groupTabs;
     this.tabbedGroups1.Name               = "tabbedGroups1";
     this.tabbedGroups1.ProminentLeaf      = null;
     this.tabbedGroups1.ResizeBarColor     = System.Drawing.SystemColors.Control;
     this.tabbedGroups1.Size               = new System.Drawing.Size(512, 405);
     this.tabbedGroups1.TabIndex           = 0;
     this.tabbedGroups1.TabControlCreated += new Crownwood.Magic.Controls.TabbedGroups.TabControlCreatedHandler(this.TabControlCreated);
     this.tabbedGroups1.PageSaving        += new Crownwood.Magic.Controls.TabbedGroups.PageSavingHandler(this.PageSaving);
     this.tabbedGroups1.ExternalDrop      += new Crownwood.Magic.Controls.TabbedGroups.ExternalDropHandler(this.ExternalDrop);
     this.tabbedGroups1.PageLoading       += new Crownwood.Magic.Controls.TabbedGroups.PageLoadingHandler(this.PageLoading);
     this.tabbedGroups1.GlobalLoading     += new Crownwood.Magic.Controls.TabbedGroups.GlobalLoadingHandler(this.GlobalLoading);
     this.tabbedGroups1.GlobalSaving      += new Crownwood.Magic.Controls.TabbedGroups.GlobalSavingHandler(this.GlobalSaving);
     //
     // tabPage3
     //
     this.tabPage3.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.tabbedGroups3
     });
     this.tabPage3.ImageIndex = 2;
     this.tabPage3.Name       = "tabPage3";
     this.tabPage3.Selected   = false;
     this.tabPage3.TabIndex   = 2;
     this.tabPage3.Title      = "Group3";
     //
     // tabbedGroups3
     //
     this.tabbedGroups3.ActiveLeaf     = null;
     this.tabbedGroups3.AllowDrop      = true;
     this.tabbedGroups3.AtLeastOneLeaf = true;
     this.tabbedGroups3.Dock           = System.Windows.Forms.DockStyle.Fill;
     this.tabbedGroups3.ImageList      = this.groupTabs;
     this.tabbedGroups3.Name           = "tabbedGroups3";
     this.tabbedGroups3.ProminentLeaf  = null;
     this.tabbedGroups3.ResizeBarColor = System.Drawing.SystemColors.Control;
     this.tabbedGroups3.Size           = new System.Drawing.Size(384, 301);
     this.tabbedGroups3.TabIndex       = 0;
     this.tabbedGroups3.PageSaving    += new Crownwood.Magic.Controls.TabbedGroups.PageSavingHandler(this.PageSaving);
     this.tabbedGroups3.ExternalDrop  += new Crownwood.Magic.Controls.TabbedGroups.ExternalDropHandler(this.ExternalDrop);
     this.tabbedGroups3.PageLoading   += new Crownwood.Magic.Controls.TabbedGroups.PageLoadingHandler(this.PageLoading);
     this.tabbedGroups3.GlobalLoading += new Crownwood.Magic.Controls.TabbedGroups.GlobalLoadingHandler(this.GlobalLoading);
     this.tabbedGroups3.GlobalSaving  += new Crownwood.Magic.Controls.TabbedGroups.GlobalSavingHandler(this.GlobalSaving);
     //
     // SampleForm
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(512, 477);
     this.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.tabControl1,
         this.menuControl1,
         this.statusBar1
     });
     this.Name = "SampleForm";
     this.Text = "Form1";
     this.tabPage2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.tabbedGroups2)).EndInit();
     this.tabPage1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.tabbedGroups1)).EndInit();
     this.tabPage3.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.tabbedGroups3)).EndInit();
     this.ResumeLayout(false);
 }