[mapguide-commits] r5467 -
sandbox/maestro-3.0/Maestro.Editors/LoadProcedure
svn_mapguide at osgeo.org
svn_mapguide at osgeo.org
Fri Dec 10 07:02:13 EST 2010
Author: jng
Date: 2010-12-10 04:02:13 -0800 (Fri, 10 Dec 2010)
New Revision: 5467
Modified:
sandbox/maestro-3.0/Maestro.Editors/LoadProcedure/ShpTransformationCtrl.Designer.cs
sandbox/maestro-3.0/Maestro.Editors/LoadProcedure/ShpTransformationCtrl.cs
Log:
#1525: Forgot to wire up event handler to set the Coordinate System. Oops!
Modified: sandbox/maestro-3.0/Maestro.Editors/LoadProcedure/ShpTransformationCtrl.Designer.cs
===================================================================
--- sandbox/maestro-3.0/Maestro.Editors/LoadProcedure/ShpTransformationCtrl.Designer.cs 2010-12-10 11:39:50 UTC (rev 5466)
+++ sandbox/maestro-3.0/Maestro.Editors/LoadProcedure/ShpTransformationCtrl.Designer.cs 2010-12-10 12:02:13 UTC (rev 5467)
@@ -71,6 +71,7 @@
resources.ApplyResources(this.btnBrowseCs, "btnBrowseCs");
this.btnBrowseCs.Name = "btnBrowseCs";
this.btnBrowseCs.UseVisualStyleBackColor = true;
+ this.btnBrowseCs.Click += new System.EventHandler(this.btnBrowseCs_Click);
//
// txtCoordinateSystem
//
Modified: sandbox/maestro-3.0/Maestro.Editors/LoadProcedure/ShpTransformationCtrl.cs
===================================================================
--- sandbox/maestro-3.0/Maestro.Editors/LoadProcedure/ShpTransformationCtrl.cs 2010-12-10 11:39:50 UTC (rev 5466)
+++ sandbox/maestro-3.0/Maestro.Editors/LoadProcedure/ShpTransformationCtrl.cs 2010-12-10 12:02:13 UTC (rev 5467)
@@ -55,5 +55,14 @@
NumericBinder.BindValueChanged(numGeneralizePercentage, shplp, "Generalization");
CheckBoxBinder.BindChecked(chkConvertToSdf, shplp, "ConvertToSdf");
}
+
+ private void btnBrowseCs_Click(object sender, EventArgs e)
+ {
+ string cs = _service.GetCoordinateSystem();
+ if (!string.IsNullOrEmpty(cs) && cs != txtCoordinateSystem.Text)
+ {
+ txtCoordinateSystem.Text = cs;
+ }
+ }
}
}
More information about the mapguide-commits
mailing list