[mapguide-commits] r4221 - trunk/Tools/Maestro/Maestro/FusionEditor/CustomizedEditors

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Mon Sep 14 16:59:16 EDT 2009


Author: ksgeograf
Date: 2009-09-14 16:59:16 -0400 (Mon, 14 Sep 2009)
New Revision: 4221

Modified:
   trunk/Tools/Maestro/Maestro/FusionEditor/CustomizedEditors/Print.cs
Log:
Maestro: Fixed issue #1085.

Modified: trunk/Tools/Maestro/Maestro/FusionEditor/CustomizedEditors/Print.cs
===================================================================
--- trunk/Tools/Maestro/Maestro/FusionEditor/CustomizedEditors/Print.cs	2009-09-14 20:53:29 UTC (rev 4220)
+++ trunk/Tools/Maestro/Maestro/FusionEditor/CustomizedEditors/Print.cs	2009-09-14 20:59:16 UTC (rev 4221)
@@ -17,48 +17,48 @@
 // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
 // 
 #endregion
-using System;
-using System.Collections;
-using System.ComponentModel;
-using System.Drawing;
-using System.Windows.Forms;
-using OSGeo.MapGuide.MaestroAPI.ApplicationDefinition;
-
-namespace OSGeo.MapGuide.Maestro.FusionEditor.CustomizedEditors
-{
-	public class Print : FusionEditor.BasisWidgetEditor
+using System;
+using System.Collections;
+using System.ComponentModel;
+using System.Drawing;
+using System.Windows.Forms;
+using OSGeo.MapGuide.MaestroAPI.ApplicationDefinition;
+
+namespace OSGeo.MapGuide.Maestro.FusionEditor.CustomizedEditors
+{
+	public class Print : FusionEditor.BasisWidgetEditor
 	{
 		private System.Windows.Forms.Label label5;
 		private System.Windows.Forms.TextBox PageTitle;
 		private System.Windows.Forms.CheckBox ShowNorthArrow;
 		private System.Windows.Forms.CheckBox ShowLegend;
 		private System.Windows.Forms.CheckBox ShowTitle;
-		private System.Windows.Forms.CheckBox ShowPrintUI;
-		private System.ComponentModel.IContainer components = null;
-
-		public Print()
-		{
-			// This call is required by the Windows Form Designer.
-			InitializeComponent();
-
-			// TODO: Add any initialization after the InitializeComponent call
-		}
-
-		/// <summary>
-		/// Clean up any resources being used.
-		/// </summary>
-		protected override void Dispose( bool disposing )
-		{
-			if( disposing )
-			{
-				if (components != null) 
-				{
-					components.Dispose();
-				}
-			}
-			base.Dispose( disposing );
-		}
-
+		private System.Windows.Forms.CheckBox ShowPrintUI;
+		private System.ComponentModel.IContainer components = null;
+
+		public Print()
+		{
+			// This call is required by the Windows Form Designer.
+			InitializeComponent();
+
+			// TODO: Add any initialization after the InitializeComponent call
+		}
+
+		/// <summary>
+		/// Clean up any resources being used.
+		/// </summary>
+		protected override void Dispose( bool disposing )
+		{
+			if( disposing )
+			{
+				if (components != null) 
+				{
+					components.Dispose();
+				}
+			}
+			base.Dispose( disposing );
+		}
+
 		public override void SetItem(WidgetType w)
 		{
 			try
@@ -82,14 +82,14 @@
 				m_isUpdating = false;
 			}
 		}
-
-		#region Designer generated code
-		/// <summary>
-		/// Required method for Designer support - do not modify
-		/// the contents of this method with the code editor.
-		/// </summary>
-		private void InitializeComponent()
-		{
+
+		#region Designer generated code
+		/// <summary>
+		/// Required method for Designer support - do not modify
+		/// the contents of this method with the code editor.
+		/// </summary>
+		private void InitializeComponent()
+		{
 			this.PageTitle = new System.Windows.Forms.TextBox();
 			this.label5 = new System.Windows.Forms.Label();
 			this.ShowNorthArrow = new System.Windows.Forms.CheckBox();
@@ -125,7 +125,7 @@
 			this.ShowNorthArrow.Name = "ShowNorthArrow";
 			this.ShowNorthArrow.Size = new System.Drawing.Size(600, 16);
 			this.ShowNorthArrow.TabIndex = 25;
-			this.ShowNorthArrow.Text = "Show Root Folder";
+			this.ShowNorthArrow.Text = "Show north arrow";
 			this.ShowNorthArrow.CheckedChanged += new System.EventHandler(this.ShowNorthArrow_CheckedChanged);
 			// 
 			// ShowLegend
@@ -136,7 +136,7 @@
 			this.ShowLegend.Name = "ShowLegend";
 			this.ShowLegend.Size = new System.Drawing.Size(600, 16);
 			this.ShowLegend.TabIndex = 24;
-			this.ShowLegend.Text = "Hide invisible layers";
+			this.ShowLegend.Text = "Show legend";
 			this.ShowLegend.CheckedChanged += new System.EventHandler(this.ShowLegend_CheckedChanged);
 			// 
 			// ShowTitle
@@ -147,7 +147,7 @@
 			this.ShowTitle.Name = "ShowTitle";
 			this.ShowTitle.Size = new System.Drawing.Size(600, 16);
 			this.ShowTitle.TabIndex = 27;
-			this.ShowTitle.Text = "Show Root Folder";
+			this.ShowTitle.Text = "Show title";
 			this.ShowTitle.CheckedChanged += new System.EventHandler(this.ShowTitle_CheckedChanged);
 			// 
 			// ShowPrintUI
@@ -158,7 +158,7 @@
 			this.ShowPrintUI.Name = "ShowPrintUI";
 			this.ShowPrintUI.Size = new System.Drawing.Size(600, 16);
 			this.ShowPrintUI.TabIndex = 26;
-			this.ShowPrintUI.Text = "Hide invisible layers";
+			this.ShowPrintUI.Text = "Show print UI";
 			this.ShowPrintUI.CheckedChanged += new System.EventHandler(this.ShowPrintUI_CheckedChanged);
 			// 
 			// Print
@@ -173,7 +173,7 @@
 			this.Size = new System.Drawing.Size(616, 128);
 			this.ResumeLayout(false);
 
-		}
+		}
 		#endregion
 
 		private void PageTitle_TextChanged(object sender, System.EventArgs e)
@@ -214,7 +214,7 @@
 				return;
 
 			SetSettingValue("ShowTitle", ShowTitle.Checked.ToString().ToLower());
-		}
-	}
-}
-
+		}
+	}
+}
+



More information about the mapguide-commits mailing list