[mapguide-commits] r6886 - branches/2.4/MgDev/Desktop/SampleExtension

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Tue Jul 10 05:32:08 PDT 2012


Author: jng
Date: 2012-07-10 05:32:08 -0700 (Tue, 10 Jul 2012)
New Revision: 6886

Modified:
   branches/2.4/MgDev/Desktop/SampleExtension/CustomOutput.Designer.cs
   branches/2.4/MgDev/Desktop/SampleExtension/InteractingWithLayers.Designer.cs
   branches/2.4/MgDev/Desktop/SampleExtension/InteractingWithLayers.resx
Log:
#2062: Fix some layout and text

Modified: branches/2.4/MgDev/Desktop/SampleExtension/CustomOutput.Designer.cs
===================================================================
--- branches/2.4/MgDev/Desktop/SampleExtension/CustomOutput.Designer.cs	2012-07-10 12:25:43 UTC (rev 6885)
+++ branches/2.4/MgDev/Desktop/SampleExtension/CustomOutput.Designer.cs	2012-07-10 12:32:08 UTC (rev 6886)
@@ -35,8 +35,8 @@
             this.btnRenderMap2 = new System.Windows.Forms.Button();
             this.btnRenderMap1 = new System.Windows.Forms.Button();
             this.groupBox2 = new System.Windows.Forms.GroupBox();
+            this.btnMultiPlot = new System.Windows.Forms.Button();
             this.btnSinglePlot = new System.Windows.Forms.Button();
-            this.btnMultiPlot = new System.Windows.Forms.Button();
             this.groupBox1.SuspendLayout();
             this.groupBox2.SuspendLayout();
             this.SuspendLayout();
@@ -109,6 +109,8 @@
             // 
             // groupBox2
             // 
+            this.groupBox2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
+                        | System.Windows.Forms.AnchorStyles.Right)));
             this.groupBox2.Controls.Add(this.btnMultiPlot);
             this.groupBox2.Controls.Add(this.btnSinglePlot);
             this.groupBox2.Location = new System.Drawing.Point(17, 251);
@@ -118,6 +120,16 @@
             this.groupBox2.TabStop = false;
             this.groupBox2.Text = "Plot current view to DWF";
             // 
+            // btnMultiPlot
+            // 
+            this.btnMultiPlot.Location = new System.Drawing.Point(24, 58);
+            this.btnMultiPlot.Name = "btnMultiPlot";
+            this.btnMultiPlot.Size = new System.Drawing.Size(177, 23);
+            this.btnMultiPlot.TabIndex = 1;
+            this.btnMultiPlot.Text = "Multi-Page plot";
+            this.btnMultiPlot.UseVisualStyleBackColor = true;
+            this.btnMultiPlot.Click += new System.EventHandler(this.btnMultiPlot_Click);
+            // 
             // btnSinglePlot
             // 
             this.btnSinglePlot.Location = new System.Drawing.Point(24, 29);
@@ -128,16 +140,6 @@
             this.btnSinglePlot.UseVisualStyleBackColor = true;
             this.btnSinglePlot.Click += new System.EventHandler(this.btnSinglePlot_Click);
             // 
-            // btnMultiPlot
-            // 
-            this.btnMultiPlot.Location = new System.Drawing.Point(24, 58);
-            this.btnMultiPlot.Name = "btnMultiPlot";
-            this.btnMultiPlot.Size = new System.Drawing.Size(177, 23);
-            this.btnMultiPlot.TabIndex = 1;
-            this.btnMultiPlot.Text = "Multi-Page plot";
-            this.btnMultiPlot.UseVisualStyleBackColor = true;
-            this.btnMultiPlot.Click += new System.EventHandler(this.btnMultiPlot_Click);
-            // 
             // CustomOutput
             // 
             this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);

Modified: branches/2.4/MgDev/Desktop/SampleExtension/InteractingWithLayers.Designer.cs
===================================================================
--- branches/2.4/MgDev/Desktop/SampleExtension/InteractingWithLayers.Designer.cs	2012-07-10 12:25:43 UTC (rev 6885)
+++ branches/2.4/MgDev/Desktop/SampleExtension/InteractingWithLayers.Designer.cs	2012-07-10 12:32:08 UTC (rev 6886)
@@ -40,13 +40,13 @@
                         | System.Windows.Forms.AnchorStyles.Right)));
             this.label1.Location = new System.Drawing.Point(15, 19);
             this.label1.Name = "label1";
-            this.label1.Size = new System.Drawing.Size(180, 125);
+            this.label1.Size = new System.Drawing.Size(180, 189);
             this.label1.TabIndex = 2;
             this.label1.Text = resources.GetString("label1.Text");
             // 
             // btnLayerVisibility
             // 
-            this.btnLayerVisibility.Location = new System.Drawing.Point(18, 147);
+            this.btnLayerVisibility.Location = new System.Drawing.Point(18, 223);
             this.btnLayerVisibility.Name = "btnLayerVisibility";
             this.btnLayerVisibility.Size = new System.Drawing.Size(177, 23);
             this.btnLayerVisibility.TabIndex = 3;
@@ -56,7 +56,7 @@
             // 
             // btnRenameRoadsLayer
             // 
-            this.btnRenameRoadsLayer.Location = new System.Drawing.Point(18, 176);
+            this.btnRenameRoadsLayer.Location = new System.Drawing.Point(18, 252);
             this.btnRenameRoadsLayer.Name = "btnRenameRoadsLayer";
             this.btnRenameRoadsLayer.Size = new System.Drawing.Size(177, 23);
             this.btnRenameRoadsLayer.TabIndex = 4;

Modified: branches/2.4/MgDev/Desktop/SampleExtension/InteractingWithLayers.resx
===================================================================
--- branches/2.4/MgDev/Desktop/SampleExtension/InteractingWithLayers.resx	2012-07-10 12:25:43 UTC (rev 6885)
+++ branches/2.4/MgDev/Desktop/SampleExtension/InteractingWithLayers.resx	2012-07-10 12:32:08 UTC (rev 6886)
@@ -120,8 +120,11 @@
   <data name="label1.Text" xml:space="preserve">
     <value>This sample demonstrates layer manipulation and interrogation
 
-Unlike the MapGuide Web Extensions API, layer and group changes are immediately reflected on the map. No Open() or Save() is required on the map object, just a refresh of the viewer afterwards
+Unlike the MapGuide Web Extensions API, layer and group changes are immediately reflected on the map. 
 
+No Open() or Save() is required on the map object, just a refresh of the viewer afterwards and a refresh of the legend if a layer has been modified or the layer/group structure has been modified
+
+
 </value>
   </data>
 </root>
\ No newline at end of file



More information about the mapguide-commits mailing list