[mapguide-commits] r6206 - trunk/Tools/Maestro/Maestro.Base

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Tue Nov 8 09:24:20 EST 2011


Author: jng
Date: 2011-11-08 06:24:20 -0800 (Tue, 08 Nov 2011)
New Revision: 6206

Modified:
   trunk/Tools/Maestro/Maestro.Base/TabFactory.cs
   trunk/Tools/Maestro/Maestro.Base/ZonedContainer.Designer.cs
   trunk/Tools/Maestro/Maestro.Base/ZonedContainer.cs
   trunk/Tools/Maestro/Maestro.Base/ZonedContainer.resx
Log:
Add a context menu for document tabs allowing for:
 - Closing selected tab
 - Closing all tabs but selected tab
 - Closing all tabs
Yes! I finally figured this out!

Modified: trunk/Tools/Maestro/Maestro.Base/TabFactory.cs
===================================================================
--- trunk/Tools/Maestro/Maestro.Base/TabFactory.cs	2011-11-08 13:55:39 UTC (rev 6205)
+++ trunk/Tools/Maestro/Maestro.Base/TabFactory.cs	2011-11-08 14:24:20 UTC (rev 6206)
@@ -44,6 +44,8 @@
     {
         private static List<HiddenTab> _hiddenTabs = new List<HiddenTab>();
 
+        static ContextMenuStrip smStrip;
+
         internal static TabPage CreateTab(IViewContent content, string imgKey)
         {
             TabPage page = new TabPage();
@@ -52,6 +54,14 @@
             page.ToolTipText = content.Description;
             page.Tag = content;
 
+            if (smStrip == null)
+            {
+                smStrip = new ContextMenuStrip();
+                smStrip.Items.Add("Close This Tab");
+                smStrip.Items.Add("Close All But This");
+                smStrip.Items.Add("Close All");
+            }
+            
             content.TitleChanged += (sender, e) => 
             {
                 page.Text = content.Title; 

Modified: trunk/Tools/Maestro/Maestro.Base/ZonedContainer.Designer.cs
===================================================================
--- trunk/Tools/Maestro/Maestro.Base/ZonedContainer.Designer.cs	2011-11-08 13:55:39 UTC (rev 6205)
+++ trunk/Tools/Maestro/Maestro.Base/ZonedContainer.Designer.cs	2011-11-08 14:24:20 UTC (rev 6206)
@@ -30,9 +30,6 @@
         {
             this.components = new System.ComponentModel.Container();
             System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ZonedContainer));
-            this.topContainer = new System.Windows.Forms.SplitContainer();
-            this.leftZone = new System.Windows.Forms.TabControl();
-            this.leftImgList = new System.Windows.Forms.ImageList(this.components);
             this.docRightContainer = new System.Windows.Forms.SplitContainer();
             this.docBottomContainer = new System.Windows.Forms.SplitContainer();
             this.documentTabs = new System.Windows.Forms.TabControl();
@@ -41,50 +38,25 @@
             this.bottomImgList = new System.Windows.Forms.ImageList(this.components);
             this.rightZone = new System.Windows.Forms.TabControl();
             this.rightImgList = new System.Windows.Forms.ImageList(this.components);
-            this.topContainer.Panel1.SuspendLayout();
-            this.topContainer.Panel2.SuspendLayout();
-            this.topContainer.SuspendLayout();
+            this.topContainer = new System.Windows.Forms.SplitContainer();
+            this.leftZone = new System.Windows.Forms.TabControl();
+            this.leftImgList = new System.Windows.Forms.ImageList(this.components);
+            this.ctxDocumentTabs = new System.Windows.Forms.ContextMenuStrip(this.components);
+            this.closeTabToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+            this.closeAllButThisToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+            this.closeAllTabsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
             this.docRightContainer.Panel1.SuspendLayout();
             this.docRightContainer.Panel2.SuspendLayout();
             this.docRightContainer.SuspendLayout();
             this.docBottomContainer.Panel1.SuspendLayout();
             this.docBottomContainer.Panel2.SuspendLayout();
             this.docBottomContainer.SuspendLayout();
+            this.topContainer.Panel1.SuspendLayout();
+            this.topContainer.Panel2.SuspendLayout();
+            this.topContainer.SuspendLayout();
+            this.ctxDocumentTabs.SuspendLayout();
             this.SuspendLayout();
             // 
-            // topContainer
-            // 
-            resources.ApplyResources(this.topContainer, "topContainer");
-            this.topContainer.FixedPanel = System.Windows.Forms.FixedPanel.Panel1;
-            this.topContainer.Name = "topContainer";
-            // 
-            // topContainer.Panel1
-            // 
-            this.topContainer.Panel1.Controls.Add(this.leftZone);
-            // 
-            // topContainer.Panel2
-            // 
-            this.topContainer.Panel2.Controls.Add(this.docRightContainer);
-            // 
-            // leftZone
-            // 
-            resources.ApplyResources(this.leftZone, "leftZone");
-            this.leftZone.DrawMode = System.Windows.Forms.TabDrawMode.OwnerDrawFixed;
-            this.leftZone.HotTrack = true;
-            this.leftZone.ImageList = this.leftImgList;
-            this.leftZone.Name = "leftZone";
-            this.leftZone.SelectedIndex = 0;
-            this.leftZone.DrawItem += new System.Windows.Forms.DrawItemEventHandler(this.ZoneDrawItem);
-            this.leftZone.MouseClick += new System.Windows.Forms.MouseEventHandler(this.ZoneMouseClick);
-            this.leftZone.TabIndexChanged += new System.EventHandler(this.ZoneTabSelectedIndexChanged);
-            this.leftZone.SelectedIndexChanged += new System.EventHandler(this.ZoneTabSelectedIndexChanged);
-            // 
-            // leftImgList
-            // 
-            this.leftImgList.ColorDepth = System.Windows.Forms.ColorDepth.Depth8Bit;
-            resources.ApplyResources(this.leftImgList, "leftImgList");
-            this.leftImgList.TransparentColor = System.Drawing.Color.Transparent;
-            // 
             // docRightContainer
             // 
             resources.ApplyResources(this.docRightContainer, "docRightContainer");
@@ -174,21 +146,82 @@
             resources.ApplyResources(this.rightImgList, "rightImgList");
             this.rightImgList.TransparentColor = System.Drawing.Color.Transparent;
             // 
+            // topContainer
+            // 
+            resources.ApplyResources(this.topContainer, "topContainer");
+            this.topContainer.FixedPanel = System.Windows.Forms.FixedPanel.Panel1;
+            this.topContainer.Name = "topContainer";
+            // 
+            // topContainer.Panel1
+            // 
+            this.topContainer.Panel1.Controls.Add(this.leftZone);
+            // 
+            // topContainer.Panel2
+            // 
+            this.topContainer.Panel2.Controls.Add(this.docRightContainer);
+            // 
+            // leftZone
+            // 
+            resources.ApplyResources(this.leftZone, "leftZone");
+            this.leftZone.DrawMode = System.Windows.Forms.TabDrawMode.OwnerDrawFixed;
+            this.leftZone.HotTrack = true;
+            this.leftZone.ImageList = this.leftImgList;
+            this.leftZone.Name = "leftZone";
+            this.leftZone.SelectedIndex = 0;
+            this.leftZone.DrawItem += new System.Windows.Forms.DrawItemEventHandler(this.ZoneDrawItem);
+            this.leftZone.MouseClick += new System.Windows.Forms.MouseEventHandler(this.ZoneMouseClick);
+            this.leftZone.TabIndexChanged += new System.EventHandler(this.ZoneTabSelectedIndexChanged);
+            this.leftZone.SelectedIndexChanged += new System.EventHandler(this.ZoneTabSelectedIndexChanged);
+            // 
+            // leftImgList
+            // 
+            this.leftImgList.ColorDepth = System.Windows.Forms.ColorDepth.Depth8Bit;
+            resources.ApplyResources(this.leftImgList, "leftImgList");
+            this.leftImgList.TransparentColor = System.Drawing.Color.Transparent;
+            // 
+            // ctxDocumentTabs
+            // 
+            this.ctxDocumentTabs.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
+            this.closeTabToolStripMenuItem,
+            this.closeAllButThisToolStripMenuItem,
+            this.closeAllTabsToolStripMenuItem});
+            this.ctxDocumentTabs.Name = "ctxDocumentTabs";
+            resources.ApplyResources(this.ctxDocumentTabs, "ctxDocumentTabs");
+            // 
+            // closeTabToolStripMenuItem
+            // 
+            this.closeTabToolStripMenuItem.Name = "closeTabToolStripMenuItem";
+            resources.ApplyResources(this.closeTabToolStripMenuItem, "closeTabToolStripMenuItem");
+            this.closeTabToolStripMenuItem.Click += new System.EventHandler(this.closeTabToolStripMenuItem_Click);
+            // 
+            // closeAllButThisToolStripMenuItem
+            // 
+            this.closeAllButThisToolStripMenuItem.Name = "closeAllButThisToolStripMenuItem";
+            resources.ApplyResources(this.closeAllButThisToolStripMenuItem, "closeAllButThisToolStripMenuItem");
+            this.closeAllButThisToolStripMenuItem.Click += new System.EventHandler(this.closeAllButThisToolStripMenuItem_Click);
+            // 
+            // closeAllTabsToolStripMenuItem
+            // 
+            this.closeAllTabsToolStripMenuItem.Name = "closeAllTabsToolStripMenuItem";
+            resources.ApplyResources(this.closeAllTabsToolStripMenuItem, "closeAllTabsToolStripMenuItem");
+            this.closeAllTabsToolStripMenuItem.Click += new System.EventHandler(this.closeAllTabsToolStripMenuItem_Click);
+            // 
             // ZonedContainer
             // 
             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
             this.Controls.Add(this.topContainer);
             this.Name = "ZonedContainer";
             resources.ApplyResources(this, "$this");
-            this.topContainer.Panel1.ResumeLayout(false);
-            this.topContainer.Panel2.ResumeLayout(false);
-            this.topContainer.ResumeLayout(false);
             this.docRightContainer.Panel1.ResumeLayout(false);
             this.docRightContainer.Panel2.ResumeLayout(false);
             this.docRightContainer.ResumeLayout(false);
             this.docBottomContainer.Panel1.ResumeLayout(false);
             this.docBottomContainer.Panel2.ResumeLayout(false);
             this.docBottomContainer.ResumeLayout(false);
+            this.topContainer.Panel1.ResumeLayout(false);
+            this.topContainer.Panel2.ResumeLayout(false);
+            this.topContainer.ResumeLayout(false);
+            this.ctxDocumentTabs.ResumeLayout(false);
             this.ResumeLayout(false);
 
         }
@@ -206,5 +239,9 @@
         private System.Windows.Forms.ImageList rightImgList;
         private System.Windows.Forms.ImageList docImgList;
         private System.Windows.Forms.ImageList bottomImgList;
+        private System.Windows.Forms.ContextMenuStrip ctxDocumentTabs;
+        private System.Windows.Forms.ToolStripMenuItem closeTabToolStripMenuItem;
+        private System.Windows.Forms.ToolStripMenuItem closeAllButThisToolStripMenuItem;
+        private System.Windows.Forms.ToolStripMenuItem closeAllTabsToolStripMenuItem;
     }
 }

Modified: trunk/Tools/Maestro/Maestro.Base/ZonedContainer.cs
===================================================================
--- trunk/Tools/Maestro/Maestro.Base/ZonedContainer.cs	2011-11-08 13:55:39 UTC (rev 6205)
+++ trunk/Tools/Maestro/Maestro.Base/ZonedContainer.cs	2011-11-08 14:24:20 UTC (rev 6206)
@@ -192,6 +192,16 @@
                         ((IViewContent)page.Tag).Close();
                     }
                 }
+                else
+                {
+                    if (e.Button == MouseButtons.Right)
+                    {
+                        if (this.DocumentTabContextMenuEnabled)
+                            return;
+
+                        ctxDocumentTabs.Show(tc, new Point(e.X, e.Y));
+                    }
+                }
             }
             catch { }
         }
@@ -213,5 +223,54 @@
                 OnViewActivated((IViewContent)page.Tag);
             }
         }
+
+        private void closeTabToolStripMenuItem_Click(object sender, EventArgs e)
+        {
+            if (this.DocumentTabContextMenuEnabled || documentTabs.SelectedIndex < 0)
+                return;
+
+            var tab = documentTabs.TabPages[documentTabs.SelectedIndex];
+            ((IViewContent)tab.Tag).Close();
+        }
+
+        private void closeAllButThisToolStripMenuItem_Click(object sender, EventArgs e)
+        {
+            if (this.DocumentTabContextMenuEnabled || documentTabs.SelectedIndex < 0)
+                return;
+
+            var tabs = new List<TabPage>();
+            for (int i = 0; i < documentTabs.TabPages.Count; i++)
+            {
+                if (i == documentTabs.SelectedIndex)
+                    continue;
+
+                var tab = documentTabs.TabPages[i];
+                tabs.Add(tab);
+            }
+            foreach (var tab in tabs)
+            {
+                ((IViewContent)tab.Tag).Close();
+            }
+        }
+
+        private void closeAllTabsToolStripMenuItem_Click(object sender, EventArgs e)
+        {
+            if (this.DocumentTabContextMenuEnabled)
+                return;
+
+            for (int i = 0; i < documentTabs.TabPages.Count; i++)
+            {
+                var tab = documentTabs.TabPages[i];
+                ((IViewContent)tab.Tag).Close();
+            }
+        }
+
+        [DefaultValue(true)]
+        [Description("Indicates whether the document tabs context menu is enabled")]
+        public bool DocumentTabContextMenuEnabled
+        {
+            get;
+            set;
+        }
     }
 }

Modified: trunk/Tools/Maestro/Maestro.Base/ZonedContainer.resx
===================================================================
--- trunk/Tools/Maestro/Maestro.Base/ZonedContainer.resx	2011-11-08 13:55:39 UTC (rev 6205)
+++ trunk/Tools/Maestro/Maestro.Base/ZonedContainer.resx	2011-11-08 14:24:20 UTC (rev 6206)
@@ -118,68 +118,10 @@
     <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
   </resheader>
   <assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
-  <data name="topContainer.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
+  <data name="docRightContainer.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
     <value>Fill</value>
   </data>
   <assembly alias="System.Drawing" name="System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
-  <data name="topContainer.Location" type="System.Drawing.Point, System.Drawing">
-    <value>0, 0</value>
-  </data>
-  <data name="leftZone.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
-    <value>Fill</value>
-  </data>
-  <metadata name="leftImgList.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
-    <value>17, 17</value>
-  </metadata>
-  <data name="leftImgList.ImageSize" type="System.Drawing.Size, System.Drawing">
-    <value>16, 16</value>
-  </data>
-  <data name="leftZone.Location" type="System.Drawing.Point, System.Drawing">
-    <value>0, 0</value>
-  </data>
-  <data name="leftZone.Padding" type="System.Drawing.Point, System.Drawing">
-    <value>12, 3</value>
-  </data>
-  <assembly alias="mscorlib" name="mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
-  <data name="leftZone.ShowToolTips" type="System.Boolean, mscorlib">
-    <value>True</value>
-  </data>
-  <data name="leftZone.Size" type="System.Drawing.Size, System.Drawing">
-    <value>240, 444</value>
-  </data>
-  <data name="leftZone.TabIndex" type="System.Int32, mscorlib">
-    <value>0</value>
-  </data>
-  <data name="&gt;&gt;leftZone.Name" xml:space="preserve">
-    <value>leftZone</value>
-  </data>
-  <data name="&gt;&gt;leftZone.Type" xml:space="preserve">
-    <value>System.Windows.Forms.TabControl, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
-  </data>
-  <data name="&gt;&gt;leftZone.Parent" xml:space="preserve">
-    <value>topContainer.Panel1</value>
-  </data>
-  <data name="&gt;&gt;leftZone.ZOrder" xml:space="preserve">
-    <value>0</value>
-  </data>
-  <data name="&gt;&gt;topContainer.Panel1.Name" xml:space="preserve">
-    <value>topContainer.Panel1</value>
-  </data>
-  <data name="&gt;&gt;topContainer.Panel1.Type" xml:space="preserve">
-    <value>System.Windows.Forms.SplitterPanel, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
-  </data>
-  <data name="&gt;&gt;topContainer.Panel1.Parent" xml:space="preserve">
-    <value>topContainer</value>
-  </data>
-  <data name="&gt;&gt;topContainer.Panel1.ZOrder" xml:space="preserve">
-    <value>0</value>
-  </data>
-  <data name="topContainer.Panel1MinSize" type="System.Int32, mscorlib">
-    <value>240</value>
-  </data>
-  <data name="docRightContainer.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
-    <value>Fill</value>
-  </data>
   <data name="docRightContainer.Location" type="System.Drawing.Point, System.Drawing">
     <value>0, 0</value>
   </data>
@@ -196,7 +138,7 @@
     <value>Fill</value>
   </data>
   <metadata name="docImgList.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
-    <value>227, 17</value>
+    <value>239, 17</value>
   </metadata>
   <data name="docImgList.ImageSize" type="System.Drawing.Size, System.Drawing">
     <value>16, 16</value>
@@ -207,6 +149,7 @@
   <data name="documentTabs.Padding" type="System.Drawing.Point, System.Drawing">
     <value>12, 3</value>
   </data>
+  <assembly alias="mscorlib" name="mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
   <data name="documentTabs.ShowToolTips" type="System.Boolean, mscorlib">
     <value>True</value>
   </data>
@@ -247,7 +190,7 @@
     <value>Fill</value>
   </data>
   <metadata name="bottomImgList.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
-    <value>332, 17</value>
+    <value>350, 17</value>
   </metadata>
   <data name="bottomImgList.ImageSize" type="System.Drawing.Size, System.Drawing">
     <value>16, 16</value>
@@ -411,6 +354,63 @@
   <data name="&gt;&gt;docRightContainer.ZOrder" xml:space="preserve">
     <value>0</value>
   </data>
+  <data name="topContainer.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
+    <value>Fill</value>
+  </data>
+  <data name="topContainer.Location" type="System.Drawing.Point, System.Drawing">
+    <value>0, 0</value>
+  </data>
+  <data name="leftZone.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
+    <value>Fill</value>
+  </data>
+  <metadata name="leftImgList.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
+    <value>17, 17</value>
+  </metadata>
+  <data name="leftImgList.ImageSize" type="System.Drawing.Size, System.Drawing">
+    <value>16, 16</value>
+  </data>
+  <data name="leftZone.Location" type="System.Drawing.Point, System.Drawing">
+    <value>0, 0</value>
+  </data>
+  <data name="leftZone.Padding" type="System.Drawing.Point, System.Drawing">
+    <value>12, 3</value>
+  </data>
+  <data name="leftZone.ShowToolTips" type="System.Boolean, mscorlib">
+    <value>True</value>
+  </data>
+  <data name="leftZone.Size" type="System.Drawing.Size, System.Drawing">
+    <value>240, 444</value>
+  </data>
+  <data name="leftZone.TabIndex" type="System.Int32, mscorlib">
+    <value>0</value>
+  </data>
+  <data name="&gt;&gt;leftZone.Name" xml:space="preserve">
+    <value>leftZone</value>
+  </data>
+  <data name="&gt;&gt;leftZone.Type" xml:space="preserve">
+    <value>System.Windows.Forms.TabControl, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </data>
+  <data name="&gt;&gt;leftZone.Parent" xml:space="preserve">
+    <value>topContainer.Panel1</value>
+  </data>
+  <data name="&gt;&gt;leftZone.ZOrder" xml:space="preserve">
+    <value>0</value>
+  </data>
+  <data name="&gt;&gt;topContainer.Panel1.Name" xml:space="preserve">
+    <value>topContainer.Panel1</value>
+  </data>
+  <data name="&gt;&gt;topContainer.Panel1.Type" xml:space="preserve">
+    <value>System.Windows.Forms.SplitterPanel, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </data>
+  <data name="&gt;&gt;topContainer.Panel1.Parent" xml:space="preserve">
+    <value>topContainer</value>
+  </data>
+  <data name="&gt;&gt;topContainer.Panel1.ZOrder" xml:space="preserve">
+    <value>0</value>
+  </data>
+  <data name="topContainer.Panel1MinSize" type="System.Int32, mscorlib">
+    <value>240</value>
+  </data>
   <data name="&gt;&gt;topContainer.Panel2.Name" xml:space="preserve">
     <value>topContainer.Panel2</value>
   </data>
@@ -442,20 +442,44 @@
     <value>$this</value>
   </data>
   <data name="&gt;&gt;topContainer.ZOrder" xml:space="preserve">
-    <value>0</value>
+    <value>1</value>
   </data>
+  <metadata name="ctxDocumentTabs.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
+    <value>482, 17</value>
+  </metadata>
+  <data name="closeTabToolStripMenuItem.Size" type="System.Drawing.Size, System.Drawing">
+    <value>166, 22</value>
+  </data>
+  <data name="closeTabToolStripMenuItem.Text" xml:space="preserve">
+    <value>Close</value>
+  </data>
+  <data name="closeAllButThisToolStripMenuItem.Size" type="System.Drawing.Size, System.Drawing">
+    <value>166, 22</value>
+  </data>
+  <data name="closeAllButThisToolStripMenuItem.Text" xml:space="preserve">
+    <value>Close All But This</value>
+  </data>
+  <data name="closeAllTabsToolStripMenuItem.Size" type="System.Drawing.Size, System.Drawing">
+    <value>166, 22</value>
+  </data>
+  <data name="closeAllTabsToolStripMenuItem.Text" xml:space="preserve">
+    <value>Close All Tabs</value>
+  </data>
+  <data name="ctxDocumentTabs.Size" type="System.Drawing.Size, System.Drawing">
+    <value>167, 92</value>
+  </data>
+  <data name="&gt;&gt;ctxDocumentTabs.Name" xml:space="preserve">
+    <value>ctxDocumentTabs</value>
+  </data>
+  <data name="&gt;&gt;ctxDocumentTabs.Type" xml:space="preserve">
+    <value>System.Windows.Forms.ContextMenuStrip, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </data>
   <metadata name="$this.Localizable" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     <value>True</value>
   </metadata>
   <data name="$this.Size" type="System.Drawing.Size, System.Drawing">
     <value>626, 444</value>
   </data>
-  <data name="&gt;&gt;leftImgList.Name" xml:space="preserve">
-    <value>leftImgList</value>
-  </data>
-  <data name="&gt;&gt;leftImgList.Type" xml:space="preserve">
-    <value>System.Windows.Forms.ImageList, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
-  </data>
   <data name="&gt;&gt;docImgList.Name" xml:space="preserve">
     <value>docImgList</value>
   </data>
@@ -474,6 +498,30 @@
   <data name="&gt;&gt;rightImgList.Type" xml:space="preserve">
     <value>System.Windows.Forms.ImageList, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
   </data>
+  <data name="&gt;&gt;leftImgList.Name" xml:space="preserve">
+    <value>leftImgList</value>
+  </data>
+  <data name="&gt;&gt;leftImgList.Type" xml:space="preserve">
+    <value>System.Windows.Forms.ImageList, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </data>
+  <data name="&gt;&gt;closeTabToolStripMenuItem.Name" xml:space="preserve">
+    <value>closeTabToolStripMenuItem</value>
+  </data>
+  <data name="&gt;&gt;closeTabToolStripMenuItem.Type" xml:space="preserve">
+    <value>System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </data>
+  <data name="&gt;&gt;closeAllButThisToolStripMenuItem.Name" xml:space="preserve">
+    <value>closeAllButThisToolStripMenuItem</value>
+  </data>
+  <data name="&gt;&gt;closeAllButThisToolStripMenuItem.Type" xml:space="preserve">
+    <value>System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </data>
+  <data name="&gt;&gt;closeAllTabsToolStripMenuItem.Name" xml:space="preserve">
+    <value>closeAllTabsToolStripMenuItem</value>
+  </data>
+  <data name="&gt;&gt;closeAllTabsToolStripMenuItem.Type" xml:space="preserve">
+    <value>System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </data>
   <data name="&gt;&gt;$this.Name" xml:space="preserve">
     <value>ZonedContainer</value>
   </data>



More information about the mapguide-commits mailing list