[mapguide-commits] r8188 - in trunk/Tools/Maestro/SDK/Samples: DrawMap DwfInspector MapViewer QueryFeatureSource SchemaViewer StandaloneWebLayoutEditor

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Mon Jun 9 06:12:17 PDT 2014


Author: jng
Date: 2014-06-09 06:12:17 -0700 (Mon, 09 Jun 2014)
New Revision: 8188

Modified:
   trunk/Tools/Maestro/SDK/Samples/DrawMap/Form1.cs
   trunk/Tools/Maestro/SDK/Samples/DwfInspector/Form1.cs
   trunk/Tools/Maestro/SDK/Samples/MapViewer/Form1.cs
   trunk/Tools/Maestro/SDK/Samples/QueryFeatureSource/Form1.cs
   trunk/Tools/Maestro/SDK/Samples/SchemaViewer/Form1.cs
   trunk/Tools/Maestro/SDK/Samples/StandaloneWebLayoutEditor/Form1.cs
Log:
Fix SDK samples in light of r8187

Modified: trunk/Tools/Maestro/SDK/Samples/DrawMap/Form1.cs
===================================================================
--- trunk/Tools/Maestro/SDK/Samples/DrawMap/Form1.cs	2014-06-09 13:09:04 UTC (rev 8187)
+++ trunk/Tools/Maestro/SDK/Samples/DrawMap/Form1.cs	2014-06-09 13:12:17 UTC (rev 8188)
@@ -112,7 +112,7 @@
             //The ResourcePicker class, functions like a file dialog allowing the user
             //to easily select a given resource. In our case, we want the user to select
             //a Map Definition
-            using (var picker = new ResourcePicker(_conn.ResourceService,
+            using (var picker = new ResourcePicker(_conn,
                                                    ResourceTypes.MapDefinition.ToString(),
                                                    ResourcePickerMode.OpenResource))
             {

Modified: trunk/Tools/Maestro/SDK/Samples/DwfInspector/Form1.cs
===================================================================
--- trunk/Tools/Maestro/SDK/Samples/DwfInspector/Form1.cs	2014-06-09 13:09:04 UTC (rev 8187)
+++ trunk/Tools/Maestro/SDK/Samples/DwfInspector/Form1.cs	2014-06-09 13:12:17 UTC (rev 8188)
@@ -96,7 +96,7 @@
             //The ResourcePicker class, functions like a file dialog allowing the user
             //to easily select a given resource. In our case, we want the user to select
             //a Drawing Source
-            using (var picker = new ResourcePicker(_conn.ResourceService,
+            using (var picker = new ResourcePicker(_conn,
                                                    ResourceTypes.DrawingSource.ToString(),
                                                    ResourcePickerMode.OpenResource))
             {

Modified: trunk/Tools/Maestro/SDK/Samples/MapViewer/Form1.cs
===================================================================
--- trunk/Tools/Maestro/SDK/Samples/MapViewer/Form1.cs	2014-06-09 13:09:04 UTC (rev 8187)
+++ trunk/Tools/Maestro/SDK/Samples/MapViewer/Form1.cs	2014-06-09 13:12:17 UTC (rev 8188)
@@ -71,7 +71,7 @@
             //The ResourcePicker class, functions like a file dialog allowing the user
             //to easily select a given resource. In our case, we want the user to select
             //a Map Definition
-            using (var picker = new ResourcePicker(_conn.ResourceService,
+            using (var picker = new ResourcePicker(_conn,
                                                    ResourceTypes.MapDefinition.ToString(),
                                                    ResourcePickerMode.OpenResource))
             {

Modified: trunk/Tools/Maestro/SDK/Samples/QueryFeatureSource/Form1.cs
===================================================================
--- trunk/Tools/Maestro/SDK/Samples/QueryFeatureSource/Form1.cs	2014-06-09 13:09:04 UTC (rev 8187)
+++ trunk/Tools/Maestro/SDK/Samples/QueryFeatureSource/Form1.cs	2014-06-09 13:12:17 UTC (rev 8188)
@@ -134,7 +134,7 @@
             //The ResourcePicker class, functions like a file dialog allowing the user
             //to easily select a given resource. In our case, we want the user to select
             //a Map Definition
-            using (var picker = new ResourcePicker(_conn.ResourceService,
+            using (var picker = new ResourcePicker(_conn,
                                                    ResourceTypes.FeatureSource.ToString(),
                                                    ResourcePickerMode.OpenResource))
             {

Modified: trunk/Tools/Maestro/SDK/Samples/SchemaViewer/Form1.cs
===================================================================
--- trunk/Tools/Maestro/SDK/Samples/SchemaViewer/Form1.cs	2014-06-09 13:09:04 UTC (rev 8187)
+++ trunk/Tools/Maestro/SDK/Samples/SchemaViewer/Form1.cs	2014-06-09 13:12:17 UTC (rev 8188)
@@ -69,7 +69,7 @@
             //The ResourcePicker class, functions like a file dialog allowing the user
             //to easily select a given resource. In our case, we want the user to select
             //a Feature Source
-            using (var picker = new ResourcePicker(_conn.ResourceService,
+            using (var picker = new ResourcePicker(_conn,
                                                    ResourceTypes.FeatureSource.ToString(),
                                                    ResourcePickerMode.OpenResource))
             {

Modified: trunk/Tools/Maestro/SDK/Samples/StandaloneWebLayoutEditor/Form1.cs
===================================================================
--- trunk/Tools/Maestro/SDK/Samples/StandaloneWebLayoutEditor/Form1.cs	2014-06-09 13:09:04 UTC (rev 8187)
+++ trunk/Tools/Maestro/SDK/Samples/StandaloneWebLayoutEditor/Form1.cs	2014-06-09 13:12:17 UTC (rev 8188)
@@ -80,7 +80,7 @@
             //The ResourcePicker class, functions like a file dialog allowing the user
             //to easily select a given resource. In our case, we want the user to select
             //a Feature Source
-            using (var picker = new ResourcePicker(_conn.ResourceService,
+            using (var picker = new ResourcePicker(_conn,
                                                    ResourceTypes.WebLayout.ToString(),
                                                    ResourcePickerMode.OpenResource))
             {



More information about the mapguide-commits mailing list