[mapguide-commits] r6946 - branches/2.4/MgDev/Desktop/MapViewer/AppLayoutEngine
svn_mapguide at osgeo.org
svn_mapguide at osgeo.org
Tue Aug 21 07:54:09 PDT 2012
Author: jng
Date: 2012-08-21 07:54:08 -0700 (Tue, 21 Aug 2012)
New Revision: 6946
Modified:
branches/2.4/MgDev/Desktop/MapViewer/AppLayoutEngine/Shell.Designer.cs
branches/2.4/MgDev/Desktop/MapViewer/AppLayoutEngine/Shell.resx
Log:
mg-desktop: Iconify tabs in AppLayout shell
Modified: branches/2.4/MgDev/Desktop/MapViewer/AppLayoutEngine/Shell.Designer.cs
===================================================================
--- branches/2.4/MgDev/Desktop/MapViewer/AppLayoutEngine/Shell.Designer.cs 2012-08-21 13:16:50 UTC (rev 6945)
+++ branches/2.4/MgDev/Desktop/MapViewer/AppLayoutEngine/Shell.Designer.cs 2012-08-21 14:54:08 UTC (rev 6946)
@@ -29,15 +29,20 @@
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
+ System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Shell));
this.appContainer = new System.Windows.Forms.SplitContainer();
this.infoPaneViewerContainer = new System.Windows.Forms.SplitContainer();
this.layerPropertiesContainer = new System.Windows.Forms.SplitContainer();
this.tabControl1 = new System.Windows.Forms.TabControl();
this.tabPage2 = new System.Windows.Forms.TabPage();
+ this.legend = new OSGeo.MapGuide.Viewer.MgLegend();
this.tabControl2 = new System.Windows.Forms.TabControl();
this.tabPage3 = new System.Windows.Forms.TabPage();
+ this.propertyPane = new OSGeo.MapGuide.Viewer.MgPropertyPane();
+ this.mapViewer = new OSGeo.MapGuide.Viewer.MgMapViewer();
this.viewerContextMenu = new System.Windows.Forms.ContextMenuStrip(this.components);
this.viewerToolbar = new System.Windows.Forms.ToolStrip();
+ this.taskPane = new OSGeo.MapGuide.Viewer.MgTaskPane();
this.taskPaneToolbar = new System.Windows.Forms.ToolStrip();
this.btnInitialTask = new System.Windows.Forms.ToolStripButton();
this.taskMenu = new System.Windows.Forms.ToolStripDropDownButton();
@@ -48,10 +53,7 @@
this.lblMapScale = new System.Windows.Forms.ToolStripStatusLabel();
this.lblMapSize = new System.Windows.Forms.ToolStripStatusLabel();
this.lblPoweredBy = new System.Windows.Forms.ToolStripStatusLabel();
- this.legend = new OSGeo.MapGuide.Viewer.MgLegend();
- this.propertyPane = new OSGeo.MapGuide.Viewer.MgPropertyPane();
- this.mapViewer = new OSGeo.MapGuide.Viewer.MgMapViewer();
- this.taskPane = new OSGeo.MapGuide.Viewer.MgTaskPane();
+ this.imgList = new System.Windows.Forms.ImageList(this.components);
this.appContainer.Panel1.SuspendLayout();
this.appContainer.Panel2.SuspendLayout();
this.appContainer.SuspendLayout();
@@ -130,6 +132,7 @@
//
this.tabControl1.Controls.Add(this.tabPage2);
this.tabControl1.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.tabControl1.ImageList = this.imgList;
this.tabControl1.Location = new System.Drawing.Point(0, 0);
this.tabControl1.Name = "tabControl1";
this.tabControl1.SelectedIndex = 0;
@@ -139,18 +142,32 @@
// tabPage2
//
this.tabPage2.Controls.Add(this.legend);
- this.tabPage2.Location = new System.Drawing.Point(4, 22);
+ this.tabPage2.ImageIndex = 0;
+ this.tabPage2.Location = new System.Drawing.Point(4, 23);
this.tabPage2.Name = "tabPage2";
this.tabPage2.Padding = new System.Windows.Forms.Padding(3);
- this.tabPage2.Size = new System.Drawing.Size(212, 245);
+ this.tabPage2.Size = new System.Drawing.Size(212, 244);
this.tabPage2.TabIndex = 1;
this.tabPage2.Text = "Layers";
this.tabPage2.UseVisualStyleBackColor = true;
//
+ // legend
+ //
+ this.legend.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.legend.GroupContextMenu = null;
+ this.legend.LayerContextMenu = null;
+ this.legend.Location = new System.Drawing.Point(3, 3);
+ this.legend.Name = "legend";
+ this.legend.ShowTooltips = true;
+ this.legend.Size = new System.Drawing.Size(206, 238);
+ this.legend.TabIndex = 0;
+ this.legend.ThemeCompressionLimit = 0;
+ //
// tabControl2
//
this.tabControl2.Controls.Add(this.tabPage3);
this.tabControl2.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.tabControl2.ImageList = this.imgList;
this.tabControl2.Location = new System.Drawing.Point(0, 0);
this.tabControl2.Name = "tabControl2";
this.tabControl2.SelectedIndex = 0;
@@ -160,14 +177,41 @@
// tabPage3
//
this.tabPage3.Controls.Add(this.propertyPane);
- this.tabPage3.Location = new System.Drawing.Point(4, 22);
+ this.tabPage3.ImageIndex = 1;
+ this.tabPage3.Location = new System.Drawing.Point(4, 23);
this.tabPage3.Name = "tabPage3";
this.tabPage3.Padding = new System.Windows.Forms.Padding(3);
- this.tabPage3.Size = new System.Drawing.Size(212, 202);
+ this.tabPage3.Size = new System.Drawing.Size(212, 201);
this.tabPage3.TabIndex = 1;
this.tabPage3.Text = "Properties";
this.tabPage3.UseVisualStyleBackColor = true;
//
+ // propertyPane
+ //
+ this.propertyPane.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.propertyPane.Location = new System.Drawing.Point(3, 3);
+ this.propertyPane.Name = "propertyPane";
+ this.propertyPane.Size = new System.Drawing.Size(206, 195);
+ this.propertyPane.TabIndex = 0;
+ //
+ // mapViewer
+ //
+ this.mapViewer.ContextMenuStrip = this.viewerContextMenu;
+ this.mapViewer.Cursor = System.Windows.Forms.Cursors.Default;
+ this.mapViewer.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.mapViewer.Location = new System.Drawing.Point(0, 0);
+ this.mapViewer.MaxScale = 1000000000;
+ this.mapViewer.MinScale = 10;
+ this.mapViewer.MouseWheelDelayRenderInterval = 800;
+ this.mapViewer.Name = "mapViewer";
+ this.mapViewer.PointPixelBuffer = 2;
+ this.mapViewer.SelectionColor = System.Drawing.Color.Blue;
+ this.mapViewer.Size = new System.Drawing.Size(438, 503);
+ this.mapViewer.TabIndex = 0;
+ this.mapViewer.Text = "mgMapViewer1";
+ this.mapViewer.ZoomInFactor = 0.5;
+ this.mapViewer.ZoomOutFactor = 2;
+ //
// viewerContextMenu
//
this.viewerContextMenu.Name = "viewerContextMenu";
@@ -181,6 +225,14 @@
this.viewerToolbar.TabIndex = 1;
this.viewerToolbar.Text = "toolStrip2";
//
+ // taskPane
+ //
+ this.taskPane.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.taskPane.Location = new System.Drawing.Point(0, 25);
+ this.taskPane.Name = "taskPane";
+ this.taskPane.Size = new System.Drawing.Size(215, 503);
+ this.taskPane.TabIndex = 1;
+ //
// taskPaneToolbar
//
this.taskPaneToolbar.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
@@ -261,47 +313,13 @@
this.lblPoweredBy.Name = "lblPoweredBy";
this.lblPoweredBy.Size = new System.Drawing.Size(137, 18);
//
- // legend
+ // imgList
//
- this.legend.Dock = System.Windows.Forms.DockStyle.Fill;
- this.legend.GroupContextMenu = null;
- this.legend.LayerContextMenu = null;
- this.legend.Location = new System.Drawing.Point(3, 3);
- this.legend.Name = "legend";
- this.legend.Size = new System.Drawing.Size(206, 239);
- this.legend.TabIndex = 0;
- this.legend.ThemeCompressionLimit = 0;
+ this.imgList.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imgList.ImageStream")));
+ this.imgList.TransparentColor = System.Drawing.Color.Transparent;
+ this.imgList.Images.SetKeyName(0, "legend-layer.png");
+ this.imgList.Images.SetKeyName(1, "property.png");
//
- // propertyPane
- //
- this.propertyPane.Dock = System.Windows.Forms.DockStyle.Fill;
- this.propertyPane.Location = new System.Drawing.Point(3, 3);
- this.propertyPane.Name = "propertyPane";
- this.propertyPane.Size = new System.Drawing.Size(206, 196);
- this.propertyPane.TabIndex = 0;
- //
- // mapViewer
- //
- this.mapViewer.ContextMenuStrip = this.viewerContextMenu;
- this.mapViewer.Cursor = System.Windows.Forms.Cursors.Default;
- this.mapViewer.Dock = System.Windows.Forms.DockStyle.Fill;
- this.mapViewer.Location = new System.Drawing.Point(0, 0);
- this.mapViewer.Name = "mapViewer";
- this.mapViewer.SelectionColor = System.Drawing.Color.Blue;
- this.mapViewer.Size = new System.Drawing.Size(438, 503);
- this.mapViewer.TabIndex = 0;
- this.mapViewer.Text = "mgMapViewer1";
- this.mapViewer.ZoomInFactor = 0.5;
- this.mapViewer.ZoomOutFactor = 2;
- //
- // taskPane
- //
- this.taskPane.Dock = System.Windows.Forms.DockStyle.Fill;
- this.taskPane.Location = new System.Drawing.Point(0, 25);
- this.taskPane.Name = "taskPane";
- this.taskPane.Size = new System.Drawing.Size(215, 503);
- this.taskPane.TabIndex = 1;
- //
// Shell
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
@@ -362,5 +380,6 @@
private System.Windows.Forms.ToolStripStatusLabel lblMapSize;
private System.Windows.Forms.ToolStripStatusLabel lblPoweredBy;
private System.Windows.Forms.ContextMenuStrip viewerContextMenu;
+ private System.Windows.Forms.ImageList imgList;
}
}
\ No newline at end of file
Modified: branches/2.4/MgDev/Desktop/MapViewer/AppLayoutEngine/Shell.resx
===================================================================
--- branches/2.4/MgDev/Desktop/MapViewer/AppLayoutEngine/Shell.resx 2012-08-21 13:16:50 UTC (rev 6945)
+++ branches/2.4/MgDev/Desktop/MapViewer/AppLayoutEngine/Shell.resx 2012-08-21 14:54:08 UTC (rev 6946)
@@ -117,19 +117,68 @@
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
+ <metadata name="imgList.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
+ <value>17, 17</value>
+ </metadata>
+ <data name="imgList.ImageStream" mimetype="application/x-microsoft.net.object.binary.base64">
+ <value>
+ AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj0yLjAuMC4w
+ LCBDdWx0dXJlPW5ldXRyYWwsIFB1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AED
+ BAAB4AEBAQABAwQAAYABAQEAAQMEAAGAAQEBAAEDBAABgAEHAQABAwQAAeABHwEAAQEEAAH4AX8GAAL/
+ BgAC/wHwBQAC/wHwBQAC/wHwAQEEAAs=
+</value>
+ </data>
<metadata name="viewerContextMenu.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
- <value>565, 17</value>
+ <value>611, 17</value>
</metadata>
<metadata name="viewerToolbar.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
- <value>122, 17</value>
+ <value>108, 17</value>
</metadata>
<metadata name="taskPaneToolbar.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
- <value>227, 17</value>
+ <value>236, 17</value>
</metadata>
<metadata name="mainMenu.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
- <value>332, 17</value>
+ <value>378, 17</value>
</metadata>
<metadata name="appStatusBar.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
- <value>442, 17</value>
+ <value>488, 17</value>
</metadata>
</root>
\ No newline at end of file
More information about the mapguide-commits
mailing list