[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mapguide-commits
Subject:    [mapguide-commits] r6509 - in trunk/Tools/Maestro/Maestro.Base: . Commands/SiteExplorer Properties U
From:       svn_mapguide () osgeo ! org
Date:       2012-02-13 15:16:58
Message-ID: 20120213151658.88E89390326 () trac ! osgeo ! org
[Download RAW message or body]

Author: jng
Date: 2012-02-13 07:16:58 -0800 (Mon, 13 Feb 2012)
New Revision: 6509

Added:
   trunk/Tools/Maestro/Maestro.Base/Commands/SiteExplorer/TestResourceCompatibilityCommand.cs
  trunk/Tools/Maestro/Maestro.Base/UI/IncompatibleResourcesDialog.Designer.cs
   trunk/Tools/Maestro/Maestro.Base/UI/IncompatibleResourcesDialog.cs
   trunk/Tools/Maestro/Maestro.Base/UI/IncompatibleResourcesDialog.resx
   trunk/Tools/Maestro/Maestro.Base/UI/TestResourceCompatibilityDialog.Designer.cs
   trunk/Tools/Maestro/Maestro.Base/UI/TestResourceCompatibilityDialog.cs
   trunk/Tools/Maestro/Maestro.Base/UI/TestResourceCompatibilityDialog.resx
Modified:
   trunk/Tools/Maestro/Maestro.Base/Maestro.Base.addin
   trunk/Tools/Maestro/Maestro.Base/Maestro.Base.csproj
   trunk/Tools/Maestro/Maestro.Base/Properties/Resources.Designer.cs
   trunk/Tools/Maestro/Maestro.Base/Properties/Resources.resx
Log:
#1675: Add a command for checking resource version compatibility against a given \
MapGuide site version. This is for checking if a package of said folder can be loaded \
into this particular MapGuide Server.

Added: trunk/Tools/Maestro/Maestro.Base/Commands/SiteExplorer/TestResourceCompatibilityCommand.cs
 ===================================================================
--- trunk/Tools/Maestro/Maestro.Base/Commands/SiteExplorer/TestResourceCompatibilityCommand.cs	 \
                (rev 0)
+++ trunk/Tools/Maestro/Maestro.Base/Commands/SiteExplorer/TestResourceCompatibilityCommand.cs	2012-02-13 \
15:16:58 UTC (rev 6509) @@ -0,0 +1,302 @@
+#region Disclaimer / License
+// Copyright (C) 2012, Jackie Ng
+// http://trac.osgeo.org/mapguide/wiki/maestro, jumpinjackie@gmail.com
+// 
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either
+// version 2.1 of the License, or (at your option) any later version.
+// 
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+// Lesser General Public License for more details.
+// 
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
+// 
+#endregion
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using ICSharpCode.Core;
+using Maestro.Base.Services;
+using Maestro.Shared.UI;
+using Maestro.Base.UI;
+using System.ComponentModel;
+using OSGeo.MapGuide.MaestroAPI;
+using OSGeo.MapGuide.MaestroAPI.Capability;
+using OSGeo.MapGuide.MaestroAPI.Resource;
+using OSGeo.MapGuide.ObjectModels.Common;
+
+namespace Maestro.Base.Commands.SiteExplorer
+{
+    internal class TestResourceCompatibilityCommand : AbstractMenuCommand
+    {
+        private Version _checkVersion;
+        private IServerConnection _conn;
+
+        private object BackgroundCheckResources(BackgroundWorker worker, \
DoWorkEventArgs e, params object[] args) +        {
+            var documents = new List<string>();
+            foreach (object a in args)
+            {
+                string rid = a.ToString();
+                if (ResourceIdentifier.Validate(rid))
+                {
+                    var resId = new ResourceIdentifier(rid);
+                    if (resId.IsFolder)
+                    {
+                        foreach (IRepositoryItem o in \
_conn.ResourceService.GetRepositoryResources((string)args[0]).Children) +             \
{ +                            if (!o.IsFolder)
+                            {
+                                documents.Add(o.ResourceId);
+                            }
+                        }
+                    }
+                    else
+                    {
+                        documents.Add(rid);
+                    }
+                }
+            }
+
+            var items = new List<string>();
+            var test = new MockServerConnection() { SiteVersion = _checkVersion };
+            var caps = new TestCapabilities(test);
+
+            if (documents.Count == 0)
+                return items.ToArray();
+
+            var unit = 100 / documents.Count;
+            var progress = 0.0;
+
+            worker.ReportProgress(0);
+
+            foreach (string resId in documents)
+            {
+                IResource res = _conn.ResourceService.GetResource(resId);
+                Version ver = null;
+                try
+                {
+                    ver = caps.GetMaxSupportedResourceVersion(res.ResourceType);
+                }
+                catch
+                {
+                    items.Add(resId);
+                    continue;
+                }
+
+                //The resource's version is greater than the maximum version \
supported by +                //the user's selected site version
+                if (res.ResourceVersion > ver)
+                {
+                    items.Add(resId);
+                }
+                progress += unit;
+                worker.ReportProgress((int)progress);
+            }
+
+            worker.ReportProgress(100);
+            return items.ToArray();
+        }
+
+        public override void Run()
+        {
+            var wb = Workbench.Instance;
+            var items = wb.ActiveSiteExplorer.SelectedItems;
+            var connMgr = ServiceRegistry.GetService<ServerConnectionManager>();
+            _conn = connMgr.GetConnection(wb.ActiveSiteExplorer.ConnectionName);
+
+            if (items.Length > 0)
+            {
+                var diag = new TestResourceCompatibilityDialog();
+                if (diag.ShowDialog() == System.Windows.Forms.DialogResult.OK)
+                {
+                    _checkVersion = diag.SelectedVersion;
+
+                    var pdlg = new ProgressDialog();
+                    pdlg.CancelAbortsThread = true;
+
+                    var args = new HashSet<string>();
+                    for (int i = 0; i < items.Length; i++)
+                    {
+                        args.Add(items[i].ResourceId);
+                    }
+
+                    var incompatibleItems = (string[])pdlg.RunOperationAsync(wb, new \
ProgressDialog.DoBackgroundWork(BackgroundCheckResources), args.ToArray()); +         \
if (incompatibleItems.Length > 0) +                    {
+                        new IncompatibleResourcesDialog(_checkVersion, \
incompatibleItems).ShowDialog(); +                    }
+                    else
+                    {
+                        \
System.Windows.Forms.MessageBox.Show(string.Format(Properties.Resources.ResourcesCompatibleWithSelectedVersion, \
_checkVersion)); +                    }
+                }
+            }
+        }
+    }
+
+    class TestCapabilities : ConnectionCapabilities
+    {
+        public TestCapabilities(MockServerConnection conn)
+            : base(conn)
+        {
+
+        }
+
+        public override int[] SupportedCommands
+        {
+            get { throw new NotImplementedException(); }
+        }
+
+        public override bool SupportsResourcePreviews
+        {
+            get { throw new NotImplementedException(); }
+        }
+
+        public override bool IsMultithreaded
+        {
+            get { throw new NotImplementedException(); }
+        }
+    }
+
+    class MockServerConnection : IServerConnection
+    {
+        public string ProviderName
+        {
+            get { throw new NotImplementedException(); }
+        }
+
+        public System.Collections.Specialized.NameValueCollection CloneParameters
+        {
+            get { throw new NotImplementedException(); }
+        }
+
+        public IServerConnection Clone()
+        {
+            throw new NotImplementedException();
+        }
+
+        public string[] \
ExecuteLoadProcedure(OSGeo.MapGuide.ObjectModels.LoadProcedure.ILoadProcedure \
loadProc, LengthyOperationProgressCallBack callback, bool ignoreUnsupportedFeatures) \
+        { +            throw new NotImplementedException();
+        }
+
+        public string[] ExecuteLoadProcedure(string resourceID, \
LengthyOperationProgressCallBack callback, bool ignoreUnsupportedFeatures) +        {
+            throw new NotImplementedException();
+        }
+
+        public OSGeo.MapGuide.MaestroAPI.Services.IFeatureService FeatureService
+        {
+            get { throw new NotImplementedException(); }
+        }
+
+        public OSGeo.MapGuide.MaestroAPI.Services.IResourceService ResourceService
+        {
+            get { throw new NotImplementedException(); }
+        }
+
+        public OSGeo.MapGuide.MaestroAPI.Commands.ICommand CreateCommand(int \
commandType) +        {
+            throw new NotImplementedException();
+        }
+
+        public IConnectionCapabilities Capabilities
+        {
+            get { throw new NotImplementedException(); }
+        }
+
+        public string SessionID
+        {
+            get { throw new NotImplementedException(); }
+        }
+
+        public bool AutoRestartSession
+        {
+            get
+            {
+                throw new NotImplementedException();
+            }
+            set
+            {
+                throw new NotImplementedException();
+            }
+        }
+
+        public OSGeo.MapGuide.MaestroAPI.Services.IService GetService(int \
serviceType) +        {
+            throw new NotImplementedException();
+        }
+
+        public Version MaxTestedVersion
+        {
+            get { throw new NotImplementedException(); }
+        }
+
+        public Version SiteVersion
+        {
+            get;
+            set;
+        }
+
+        public bool DisableValidation
+        {
+            get
+            {
+                throw new NotImplementedException();
+            }
+            set
+            {
+                throw new NotImplementedException();
+            }
+        }
+
+        public OSGeo.MapGuide.MaestroAPI.CoordinateSystem.ICoordinateSystemCatalog \
CoordinateSystemCatalog +        {
+            get { throw new NotImplementedException(); }
+        }
+
+        public string DisplayName
+        {
+            get { throw new NotImplementedException(); }
+        }
+
+        public void RestartSession()
+        {
+            throw new NotImplementedException();
+        }
+
+        public bool RestartSession(bool throwException)
+        {
+            throw new NotImplementedException();
+        }
+
+        public string[] GetCustomPropertyNames()
+        {
+            throw new NotImplementedException();
+        }
+
+        public Type GetCustomPropertyType(string name)
+        {
+            throw new NotImplementedException();
+        }
+
+        public void SetCustomProperty(string name, object value)
+        {
+            throw new NotImplementedException();
+        }
+
+        public object GetCustomProperty(string name)
+        {
+            throw new NotImplementedException();
+        }
+
+        public event RequestEventHandler RequestDispatched;
+    }
+}

Modified: trunk/Tools/Maestro/Maestro.Base/Maestro.Base.addin
===================================================================
--- trunk/Tools/Maestro/Maestro.Base/Maestro.Base.addin	2012-02-13 14:21:31 UTC (rev \
                6508)
+++ trunk/Tools/Maestro/Maestro.Base/Maestro.Base.addin	2012-02-13 15:16:58 UTC (rev \
6509) @@ -454,6 +454,9 @@
                           label="${res:SiteExplorer_SelectedItem_Delete}"
                           \
class="Maestro.Base.Commands.SiteExplorer.DeleteSelectedItemsCommand" />  \
</Condition> +            <MenuItem id="TestCompatibility"
+                      label="${res:SiteExplorer_TestResourceCompatibility}"
+                      \
class="Maestro.Base.Commands.SiteExplorer.TestResourceCompatibilityCommand" />  \
<MenuItem id="Validate"  icon="tick"
                       label="${res:SiteExplorer_ValidateResources}"

Modified: trunk/Tools/Maestro/Maestro.Base/Maestro.Base.csproj
===================================================================
--- trunk/Tools/Maestro/Maestro.Base/Maestro.Base.csproj	2012-02-13 14:21:31 UTC (rev \
                6508)
+++ trunk/Tools/Maestro/Maestro.Base/Maestro.Base.csproj	2012-02-13 15:16:58 UTC (rev \
6509) @@ -129,6 +129,7 @@
     <Compile Include="Commands\SiteExplorer\ShowSpatialContextsCommand.cs" />
     <Compile Include="Commands\SiteExplorer\ValidateCommand.cs" />
     <Compile Include="Commands\StartupCommand.cs" />
+    <Compile Include="Commands\SiteExplorer\TestResourceCompatibilityCommand.cs" />
     <Compile Include="Commands\Test\OpenCoordinateSystemPickerCommand.cs" />
     <Compile Include="Commands\Test\OpenResourceCommand.cs" />
     <Compile Include="Commands\Test\OpenSymbolBrowserCommand.cs" />
@@ -289,6 +290,12 @@
     <Compile Include="UI\DirtyStateConfirmationDialog.Designer.cs">
       <DependentUpon>DirtyStateConfirmationDialog.cs</DependentUpon>
     </Compile>
+    <Compile Include="UI\IncompatibleResourcesDialog.cs">
+      <SubType>Form</SubType>
+    </Compile>
+    <Compile Include="UI\IncompatibleResourcesDialog.Designer.cs">
+      <DependentUpon>IncompatibleResourcesDialog.cs</DependentUpon>
+    </Compile>
     <Compile Include="UI\ISiteExplorer.cs" />
     <Compile Include="UI\LabelLocalizationDialog.cs">
       <SubType>Form</SubType>
@@ -385,6 +392,12 @@
       <DependentUpon>SiteExplorer.cs</DependentUpon>
     </Compile>
     <Compile Include="UI\SiteExplorerDragDropHandler.cs" />
+    <Compile Include="UI\TestResourceCompatibilityDialog.cs">
+      <SubType>Form</SubType>
+    </Compile>
+    <Compile Include="UI\TestResourceCompatibilityDialog.Designer.cs">
+      <DependentUpon>TestResourceCompatibilityDialog.cs</DependentUpon>
+    </Compile>
     <Compile Include="UI\TipOfTheDayDialog.cs">
       <SubType>Form</SubType>
     </Compile>
@@ -523,6 +536,9 @@
     <EmbeddedResource Include="UI\DirtyStateConfirmationDialog.resx">
       <DependentUpon>DirtyStateConfirmationDialog.cs</DependentUpon>
     </EmbeddedResource>
+    <EmbeddedResource Include="UI\IncompatibleResourcesDialog.resx">
+      <DependentUpon>IncompatibleResourcesDialog.cs</DependentUpon>
+    </EmbeddedResource>
     <EmbeddedResource Include="UI\LabelLocalizationDialog.resx">
       <DependentUpon>LabelLocalizationDialog.cs</DependentUpon>
     </EmbeddedResource>
@@ -572,6 +588,9 @@
       <DependentUpon>SiteExplorer.cs</DependentUpon>
       <SubType>Designer</SubType>
     </EmbeddedResource>
+    <EmbeddedResource Include="UI\TestResourceCompatibilityDialog.resx">
+      <DependentUpon>TestResourceCompatibilityDialog.cs</DependentUpon>
+    </EmbeddedResource>
     <EmbeddedResource Include="UI\TipOfTheDayDialog.resx">
       <DependentUpon>TipOfTheDayDialog.cs</DependentUpon>
     </EmbeddedResource>

Modified: trunk/Tools/Maestro/Maestro.Base/Properties/Resources.Designer.cs
===================================================================
--- trunk/Tools/Maestro/Maestro.Base/Properties/Resources.Designer.cs	2012-02-13 \
                14:21:31 UTC (rev 6508)
+++ trunk/Tools/Maestro/Maestro.Base/Properties/Resources.Designer.cs	2012-02-13 \
15:16:58 UTC (rev 6509) @@ -1731,6 +1731,15 @@
         }
         
         /// <summary>
+        ///   Looks up a localized string similar to All resources selected are \
compatible with the selected site version {0}.. +        /// </summary>
+        internal static string ResourcesCompatibleWithSelectedVersion {
+            get {
+                return \
ResourceManager.GetString("ResourcesCompatibleWithSelectedVersion", resourceCulture); \
+            } +        }
+        
+        /// <summary>
         ///   Looks up a localized string similar to {0} resources processed.
         /// </summary>
         internal static string ResourcesProcessed {
@@ -2242,6 +2251,15 @@
         }
         
         /// <summary>
+        ///   Looks up a localized string similar to Test Resource Compatibility.
+        /// </summary>
+        internal static string SiteExplorer_TestResourceCompatibility {
+            get {
+                return \
ResourceManager.GetString("SiteExplorer_TestResourceCompatibility", resourceCulture); \
+            } +        }
+        
+        /// <summary>
         ///   Looks up a localized string similar to Validate.
         /// </summary>
         internal static string SiteExplorer_ValidateResources {

Modified: trunk/Tools/Maestro/Maestro.Base/Properties/Resources.resx
===================================================================
--- trunk/Tools/Maestro/Maestro.Base/Properties/Resources.resx	2012-02-13 14:21:31 \
                UTC (rev 6508)
+++ trunk/Tools/Maestro/Maestro.Base/Properties/Resources.resx	2012-02-13 15:16:58 \
UTC (rev 6509) @@ -1094,4 +1094,10 @@
   <data name="Menu_Tools_XmlChanges_Desc" xml:space="preserve">
     <value>View XML content changes of current resource</value>
   </data>
+  <data name="SiteExplorer_TestResourceCompatibility" xml:space="preserve">
+    <value>Test Resource Compatibility</value>
+  </data>
+  <data name="ResourcesCompatibleWithSelectedVersion" xml:space="preserve">
+    <value>All resources selected are compatible with the selected site version \
{0}.</value> +  </data>
 </root>
\ No newline at end of file

Added: trunk/Tools/Maestro/Maestro.Base/UI/IncompatibleResourcesDialog.Designer.cs
===================================================================
--- trunk/Tools/Maestro/Maestro.Base/UI/IncompatibleResourcesDialog.Designer.cs	      \
                (rev 0)
+++ trunk/Tools/Maestro/Maestro.Base/UI/IncompatibleResourcesDialog.Designer.cs	2012-02-13 \
15:16:58 UTC (rev 6509) @@ -0,0 +1,74 @@
+namespace Maestro.Base.UI
+{
+    partial class IncompatibleResourcesDialog
+    {
+        /// <summary>
+        /// Required designer variable.
+        /// </summary>
+        private System.ComponentModel.IContainer components = null;
+
+        /// <summary>
+        /// Clean up any resources being used.
+        /// </summary>
+        /// <param name="disposing">true if managed resources should be disposed; \
otherwise, false.</param> +        protected override void Dispose(bool disposing)
+        {
+            if (disposing && (components != null))
+            {
+                components.Dispose();
+            }
+            base.Dispose(disposing);
+        }
+
+        #region Windows Form 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()
+        {
+            System.ComponentModel.ComponentResourceManager resources = new \
System.ComponentModel.ComponentResourceManager(typeof(IncompatibleResourcesDialog)); \
+            this.lblMessage = new System.Windows.Forms.Label(); +            \
this.lstIncompatible = new System.Windows.Forms.ListBox(); +            this.btnClose \
= new System.Windows.Forms.Button(); +            this.SuspendLayout();
+            // 
+            // lblMessage
+            // 
+            resources.ApplyResources(this.lblMessage, "lblMessage");
+            this.lblMessage.Name = "lblMessage";
+            // 
+            // lstIncompatible
+            // 
+            resources.ApplyResources(this.lstIncompatible, "lstIncompatible");
+            this.lstIncompatible.FormattingEnabled = true;
+            this.lstIncompatible.Name = "lstIncompatible";
+            // 
+            // btnClose
+            // 
+            resources.ApplyResources(this.btnClose, "btnClose");
+            this.btnClose.Name = "btnClose";
+            this.btnClose.UseVisualStyleBackColor = true;
+            this.btnClose.Click += new System.EventHandler(this.btnClose_Click);
+            // 
+            // IncompatibleResourcesDialog
+            // 
+            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
+            resources.ApplyResources(this, "$this");
+            this.ControlBox = false;
+            this.Controls.Add(this.btnClose);
+            this.Controls.Add(this.lstIncompatible);
+            this.Controls.Add(this.lblMessage);
+            this.Name = "IncompatibleResourcesDialog";
+            this.ResumeLayout(false);
+
+        }
+
+        #endregion
+
+        private System.Windows.Forms.Label lblMessage;
+        private System.Windows.Forms.ListBox lstIncompatible;
+        private System.Windows.Forms.Button btnClose;
+    }
+}
\ No newline at end of file

Added: trunk/Tools/Maestro/Maestro.Base/UI/IncompatibleResourcesDialog.cs
===================================================================
--- trunk/Tools/Maestro/Maestro.Base/UI/IncompatibleResourcesDialog.cs	               \
                (rev 0)
+++ trunk/Tools/Maestro/Maestro.Base/UI/IncompatibleResourcesDialog.cs	2012-02-13 \
15:16:58 UTC (rev 6509) @@ -0,0 +1,50 @@
+#region Disclaimer / License
+// Copyright (C) 2012, Jackie Ng
+// http://trac.osgeo.org/mapguide/wiki/maestro, jumpinjackie@gmail.com
+// 
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either
+// version 2.1 of the License, or (at your option) any later version.
+// 
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+// Lesser General Public License for more details.
+// 
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
+// 
+#endregion
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Linq;
+using System.Text;
+using System.Windows.Forms;
+
+namespace Maestro.Base.UI
+{
+    public partial class IncompatibleResourcesDialog : Form
+    {
+        private IncompatibleResourcesDialog()
+        {
+            InitializeComponent();
+        }
+
+        public IncompatibleResourcesDialog(Version version, string[] incompatible)
+            : this()
+        {
+            lblMessage.Text = string.Format(lblMessage.Text, version);
+            lstIncompatible.DataSource = incompatible;
+        }
+
+        private void btnClose_Click(object sender, EventArgs e)
+        {
+            this.Close();
+        }
+    }
+}

Added: trunk/Tools/Maestro/Maestro.Base/UI/IncompatibleResourcesDialog.resx
===================================================================
--- trunk/Tools/Maestro/Maestro.Base/UI/IncompatibleResourcesDialog.resx	             \
                (rev 0)
+++ trunk/Tools/Maestro/Maestro.Base/UI/IncompatibleResourcesDialog.resx	2012-02-13 \
15:16:58 UTC (rev 6509) @@ -0,0 +1,219 @@
+<?xml version="1.0" encoding="utf-8"?>
+<root>
+  <!-- 
+    Microsoft ResX Schema 
+    
+    Version 2.0
+    
+    The primary goals of this format is to allow a simple XML format 
+    that is mostly human readable. The generation and parsing of the 
+    various data types are done through the TypeConverter classes 
+    associated with the data types.
+    
+    Example:
+    
+    ... ado.net/XML headers & schema ...
+    <resheader name="resmimetype">text/microsoft-resx</resheader>
+    <resheader name="version">2.0</resheader>
+    <resheader name="reader">System.Resources.ResXResourceReader, \
System.Windows.Forms, ...</resheader> +    <resheader \
name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, \
...</resheader> +    <data name="Name1"><value>this is my long \
string</value><comment>this is a comment</comment></data> +    <data name="Color1" \
type="System.Drawing.Color, System.Drawing">Blue</data> +    <data name="Bitmap1" \
mimetype="application/x-microsoft.net.object.binary.base64"> +        <value>[base64 \
mime encoded serialized .NET Framework object]</value> +    </data>
+    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" \
mimetype="application/x-microsoft.net.object.bytearray.base64"> +        \
<value>[base64 mime encoded string representing a byte array form of the .NET \
Framework object]</value> +        <comment>This is a comment</comment>
+    </data>
+                
+    There are any number of "resheader" rows that contain simple 
+    name/value pairs.
+    
+    Each data row contains a name, and value. The row also contains a 
+    type or mimetype. Type corresponds to a .NET class that support 
+    text/value conversion through the TypeConverter architecture. 
+    Classes that don't support this are serialized and stored with the 
+    mimetype set.
+    
+    The mimetype is used for serialized objects, and tells the 
+    ResXResourceReader how to depersist the object. This is currently not 
+    extensible. For a given mimetype the value must be set accordingly:
+    
+    Note - application/x-microsoft.net.object.binary.base64 is the format 
+    that the ResXResourceWriter will generate, however the reader can 
+    read any of the formats listed below.
+    
+    mimetype: application/x-microsoft.net.object.binary.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
+            : and then encoded with base64 encoding.
+    
+    mimetype: application/x-microsoft.net.object.soap.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
+            : and then encoded with base64 encoding.
+
+    mimetype: application/x-microsoft.net.object.bytearray.base64
+    value   : The object must be serialized into a byte array 
+            : using a System.ComponentModel.TypeConverter
+            : and then encoded with base64 encoding.
+    -->
+  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" \
xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> +    <xsd:import \
namespace="http://www.w3.org/XML/1998/namespace" /> +    <xsd:element name="root" \
msdata:IsDataSet="true"> +      <xsd:complexType>
+        <xsd:choice maxOccurs="unbounded">
+          <xsd:element name="metadata">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" />
+              </xsd:sequence>
+              <xsd:attribute name="name" use="required" type="xsd:string" />
+              <xsd:attribute name="type" type="xsd:string" />
+              <xsd:attribute name="mimetype" type="xsd:string" />
+              <xsd:attribute ref="xml:space" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="assembly">
+            <xsd:complexType>
+              <xsd:attribute name="alias" type="xsd:string" />
+              <xsd:attribute name="name" type="xsd:string" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="data">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" \
msdata:Ordinal="1" /> +                <xsd:element name="comment" type="xsd:string" \
minOccurs="0" msdata:Ordinal="2" /> +              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" \
msdata:Ordinal="1" /> +              <xsd:attribute name="type" type="xsd:string" \
msdata:Ordinal="3" /> +              <xsd:attribute name="mimetype" type="xsd:string" \
msdata:Ordinal="4" /> +              <xsd:attribute ref="xml:space" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="resheader">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" \
msdata:Ordinal="1" /> +              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" />
+            </xsd:complexType>
+          </xsd:element>
+        </xsd:choice>
+      </xsd:complexType>
+    </xsd:element>
+  </xsd:schema>
+  <resheader name="resmimetype">
+    <value>text/microsoft-resx</value>
+  </resheader>
+  <resheader name="version">
+    <value>2.0</value>
+  </resheader>
+  <resheader name="reader">
+    <value>System.Resources.ResXResourceReader, System.Windows.Forms, \
Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> +  \
</resheader> +  <resheader name="writer">
+    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, \
Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> +  \
</resheader> +  <assembly alias="System.Windows.Forms" name="System.Windows.Forms, \
Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> +  <data \
name="lblMessage.Anchor" type="System.Windows.Forms.AnchorStyles, \
System.Windows.Forms"> +    <value>Top, Left, Right</value>
+  </data>
+  <assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, \
Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> +  <data \
name="lblMessage.Location" type="System.Drawing.Point, System.Drawing"> +    \
<value>13, 13</value> +  </data>
+  <data name="lblMessage.Size" type="System.Drawing.Size, System.Drawing">
+    <value>327, 50</value>
+  </data>
+  <assembly alias="mscorlib" name="mscorlib, Version=4.0.0.0, Culture=neutral, \
PublicKeyToken=b77a5c561934e089" /> +  <data name="lblMessage.TabIndex" \
type="System.Int32, mscorlib"> +    <value>0</value>
+  </data>
+  <data name="lblMessage.Text" xml:space="preserve">
+    <value>The following resources are not incompatible with the selected site \
version: {0}</value> +  </data>
+  <data name="&gt;&gt;lblMessage.Name" xml:space="preserve">
+    <value>lblMessage</value>
+  </data>
+  <data name="&gt;&gt;lblMessage.Type" xml:space="preserve">
+    <value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, \
Culture=neutral, PublicKeyToken=b77a5c561934e089</value> +  </data>
+  <data name="&gt;&gt;lblMessage.Parent" xml:space="preserve">
+    <value>$this</value>
+  </data>
+  <data name="&gt;&gt;lblMessage.ZOrder" xml:space="preserve">
+    <value>2</value>
+  </data>
+  <data name="lstIncompatible.Anchor" type="System.Windows.Forms.AnchorStyles, \
System.Windows.Forms"> +    <value>Top, Bottom, Left, Right</value>
+  </data>
+  <data name="lstIncompatible.Location" type="System.Drawing.Point, System.Drawing">
+    <value>16, 67</value>
+  </data>
+  <data name="lstIncompatible.Size" type="System.Drawing.Size, System.Drawing">
+    <value>324, 251</value>
+  </data>
+  <data name="lstIncompatible.TabIndex" type="System.Int32, mscorlib">
+    <value>1</value>
+  </data>
+  <data name="&gt;&gt;lstIncompatible.Name" xml:space="preserve">
+    <value>lstIncompatible</value>
+  </data>
+  <data name="&gt;&gt;lstIncompatible.Type" xml:space="preserve">
+    <value>System.Windows.Forms.ListBox, System.Windows.Forms, Version=4.0.0.0, \
Culture=neutral, PublicKeyToken=b77a5c561934e089</value> +  </data>
+  <data name="&gt;&gt;lstIncompatible.Parent" xml:space="preserve">
+    <value>$this</value>
+  </data>
+  <data name="&gt;&gt;lstIncompatible.ZOrder" xml:space="preserve">
+    <value>1</value>
+  </data>
+  <data name="btnClose.Anchor" type="System.Windows.Forms.AnchorStyles, \
System.Windows.Forms"> +    <value>Bottom, Right</value>
+  </data>
+  <data name="btnClose.Location" type="System.Drawing.Point, System.Drawing">
+    <value>265, 330</value>
+  </data>
+  <data name="btnClose.Size" type="System.Drawing.Size, System.Drawing">
+    <value>75, 23</value>
+  </data>
+  <data name="btnClose.TabIndex" type="System.Int32, mscorlib">
+    <value>2</value>
+  </data>
+  <data name="btnClose.Text" xml:space="preserve">
+    <value>Close</value>
+  </data>
+  <data name="&gt;&gt;btnClose.Name" xml:space="preserve">
+    <value>btnClose</value>
+  </data>
+  <data name="&gt;&gt;btnClose.Type" xml:space="preserve">
+    <value>System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, \
Culture=neutral, PublicKeyToken=b77a5c561934e089</value> +  </data>
+  <data name="&gt;&gt;btnClose.Parent" xml:space="preserve">
+    <value>$this</value>
+  </data>
+  <data name="&gt;&gt;btnClose.ZOrder" xml:space="preserve">
+    <value>0</value>
+  </data>
+  <metadata name="$this.Localizable" type="System.Boolean, mscorlib, \
Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> +    \
<value>True</value> +  </metadata>
+  <data name="$this.ClientSize" type="System.Drawing.Size, System.Drawing">
+    <value>352, 365</value>
+  </data>
+  <data name="$this.StartPosition" type="System.Windows.Forms.FormStartPosition, \
System.Windows.Forms"> +    <value>CenterParent</value>
+  </data>
+  <data name="$this.Text" xml:space="preserve">
+    <value>Incompatible Resources</value>
+  </data>
+  <data name="&gt;&gt;$this.Name" xml:space="preserve">
+    <value>IncompatibleResourcesDialog</value>
+  </data>
+  <data name="&gt;&gt;$this.Type" xml:space="preserve">
+    <value>System.Windows.Forms.Form, System.Windows.Forms, Version=4.0.0.0, \
Culture=neutral, PublicKeyToken=b77a5c561934e089</value> +  </data>
+</root>
\ No newline at end of file

Added: trunk/Tools/Maestro/Maestro.Base/UI/TestResourceCompatibilityDialog.Designer.cs
 ===================================================================
--- trunk/Tools/Maestro/Maestro.Base/UI/TestResourceCompatibilityDialog.Designer.cs	  \
                (rev 0)
+++ trunk/Tools/Maestro/Maestro.Base/UI/TestResourceCompatibilityDialog.Designer.cs	2012-02-13 \
15:16:58 UTC (rev 6509) @@ -0,0 +1,105 @@
+namespace Maestro.Base.UI
+{
+    partial class TestResourceCompatibilityDialog
+    {
+        /// <summary>
+        /// Required designer variable.
+        /// </summary>
+        private System.ComponentModel.IContainer components = null;
+
+        /// <summary>
+        /// Clean up any resources being used.
+        /// </summary>
+        /// <param name="disposing">true if managed resources should be disposed; \
otherwise, false.</param> +        protected override void Dispose(bool disposing)
+        {
+            if (disposing && (components != null))
+            {
+                components.Dispose();
+            }
+            base.Dispose(disposing);
+        }
+
+        #region Windows Form 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()
+        {
+            System.ComponentModel.ComponentResourceManager resources = new \
System.ComponentModel.ComponentResourceManager(typeof(TestResourceCompatibilityDialog));
 +            this.label1 = new System.Windows.Forms.Label();
+            this.cmbSiteVersion = new System.Windows.Forms.ComboBox();
+            this.label2 = new System.Windows.Forms.Label();
+            this.btnCheck = new System.Windows.Forms.Button();
+            this.btnCancel = new System.Windows.Forms.Button();
+            this.lblVersion = new System.Windows.Forms.Label();
+            this.SuspendLayout();
+            // 
+            // label1
+            // 
+            resources.ApplyResources(this.label1, "label1");
+            this.label1.Name = "label1";
+            // 
+            // cmbSiteVersion
+            // 
+            this.cmbSiteVersion.FormattingEnabled = true;
+            resources.ApplyResources(this.cmbSiteVersion, "cmbSiteVersion");
+            this.cmbSiteVersion.Name = "cmbSiteVersion";
+            this.cmbSiteVersion.SelectedIndexChanged += new \
System.EventHandler(this.cmbSiteVersion_SelectedIndexChanged); +            // 
+            // label2
+            // 
+            resources.ApplyResources(this.label2, "label2");
+            this.label2.Name = "label2";
+            // 
+            // btnCheck
+            // 
+            resources.ApplyResources(this.btnCheck, "btnCheck");
+            this.btnCheck.Name = "btnCheck";
+            this.btnCheck.UseVisualStyleBackColor = true;
+            this.btnCheck.Click += new System.EventHandler(this.btnCheck_Click);
+            // 
+            // btnCancel
+            // 
+            this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
+            resources.ApplyResources(this.btnCancel, "btnCancel");
+            this.btnCancel.Name = "btnCancel";
+            this.btnCancel.UseVisualStyleBackColor = true;
+            this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
+            // 
+            // lblVersion
+            // 
+            resources.ApplyResources(this.lblVersion, "lblVersion");
+            this.lblVersion.Name = "lblVersion";
+            // 
+            // TestResourceCompatibilityDialog
+            // 
+            this.AcceptButton = this.btnCheck;
+            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
+            this.CancelButton = this.btnCancel;
+            resources.ApplyResources(this, "$this");
+            this.ControlBox = false;
+            this.Controls.Add(this.lblVersion);
+            this.Controls.Add(this.btnCancel);
+            this.Controls.Add(this.btnCheck);
+            this.Controls.Add(this.label2);
+            this.Controls.Add(this.cmbSiteVersion);
+            this.Controls.Add(this.label1);
+            this.Name = "TestResourceCompatibilityDialog";
+            this.ResumeLayout(false);
+            this.PerformLayout();
+
+        }
+
+        #endregion
+
+        private System.Windows.Forms.Label label1;
+        private System.Windows.Forms.ComboBox cmbSiteVersion;
+        private System.Windows.Forms.Label label2;
+        private System.Windows.Forms.Button btnCheck;
+        private System.Windows.Forms.Button btnCancel;
+        private System.Windows.Forms.Label lblVersion;
+    }
+}
\ No newline at end of file

Added: trunk/Tools/Maestro/Maestro.Base/UI/TestResourceCompatibilityDialog.cs
===================================================================
--- trunk/Tools/Maestro/Maestro.Base/UI/TestResourceCompatibilityDialog.cs	           \
                (rev 0)
+++ trunk/Tools/Maestro/Maestro.Base/UI/TestResourceCompatibilityDialog.cs	2012-02-13 \
15:16:58 UTC (rev 6509) @@ -0,0 +1,61 @@
+#region Disclaimer / License
+// Copyright (C) 2012, Jackie Ng
+// http://trac.osgeo.org/mapguide/wiki/maestro, jumpinjackie@gmail.com
+// 
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either
+// version 2.1 of the License, or (at your option) any later version.
+// 
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+// Lesser General Public License for more details.
+// 
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
+// 
+#endregion
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Linq;
+using System.Text;
+using System.Windows.Forms;
+using OSGeo.MapGuide.MaestroAPI;
+
+namespace Maestro.Base.UI
+{
+    public partial class TestResourceCompatibilityDialog : Form
+    {
+        public TestResourceCompatibilityDialog()
+        {
+            InitializeComponent();
+            cmbSiteVersion.DataSource = Enum.GetValues(typeof(KnownSiteVersions));
+            cmbSiteVersion.SelectedIndex = 0;
+        }
+
+        public Version SelectedVersion
+        {
+            get { return \
SiteVersions.GetVersion((KnownSiteVersions)cmbSiteVersion.SelectedItem); } +        }
+
+        private void btnCancel_Click(object sender, EventArgs e)
+        {
+            this.DialogResult = System.Windows.Forms.DialogResult.Cancel;
+        }
+
+        private void btnCheck_Click(object sender, EventArgs e)
+        {
+            this.DialogResult = System.Windows.Forms.DialogResult.OK;
+        }
+
+        private void cmbSiteVersion_SelectedIndexChanged(object sender, EventArgs e)
+        {
+            lblVersion.Text = this.SelectedVersion.ToString();
+        }
+    }
+}

Added: trunk/Tools/Maestro/Maestro.Base/UI/TestResourceCompatibilityDialog.resx
===================================================================
--- trunk/Tools/Maestro/Maestro.Base/UI/TestResourceCompatibilityDialog.resx	         \
                (rev 0)
+++ trunk/Tools/Maestro/Maestro.Base/UI/TestResourceCompatibilityDialog.resx	2012-02-13 \
15:16:58 UTC (rev 6509) @@ -0,0 +1,288 @@
+<?xml version="1.0" encoding="utf-8"?>
+<root>
+  <!-- 
+    Microsoft ResX Schema 
+    
+    Version 2.0
+    
+    The primary goals of this format is to allow a simple XML format 
+    that is mostly human readable. The generation and parsing of the 
+    various data types are done through the TypeConverter classes 
+    associated with the data types.
+    
+    Example:
+    
+    ... ado.net/XML headers & schema ...
+    <resheader name="resmimetype">text/microsoft-resx</resheader>
+    <resheader name="version">2.0</resheader>
+    <resheader name="reader">System.Resources.ResXResourceReader, \
System.Windows.Forms, ...</resheader> +    <resheader \
name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, \
...</resheader> +    <data name="Name1"><value>this is my long \
string</value><comment>this is a comment</comment></data> +    <data name="Color1" \
type="System.Drawing.Color, System.Drawing">Blue</data> +    <data name="Bitmap1" \
mimetype="application/x-microsoft.net.object.binary.base64"> +        <value>[base64 \
mime encoded serialized .NET Framework object]</value> +    </data>
+    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" \
mimetype="application/x-microsoft.net.object.bytearray.base64"> +        \
<value>[base64 mime encoded string representing a byte array form of the .NET \
Framework object]</value> +        <comment>This is a comment</comment>
+    </data>
+                
+    There are any number of "resheader" rows that contain simple 
+    name/value pairs.
+    
+    Each data row contains a name, and value. The row also contains a 
+    type or mimetype. Type corresponds to a .NET class that support 
+    text/value conversion through the TypeConverter architecture. 
+    Classes that don't support this are serialized and stored with the 
+    mimetype set.
+    
+    The mimetype is used for serialized objects, and tells the 
+    ResXResourceReader how to depersist the object. This is currently not 
+    extensible. For a given mimetype the value must be set accordingly:
+    
+    Note - application/x-microsoft.net.object.binary.base64 is the format 
+    that the ResXResourceWriter will generate, however the reader can 
+    read any of the formats listed below.
+    
+    mimetype: application/x-microsoft.net.object.binary.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
+            : and then encoded with base64 encoding.
+    
+    mimetype: application/x-microsoft.net.object.soap.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
+            : and then encoded with base64 encoding.
+
+    mimetype: application/x-microsoft.net.object.bytearray.base64
+    value   : The object must be serialized into a byte array 
+            : using a System.ComponentModel.TypeConverter
+            : and then encoded with base64 encoding.
+    -->
+  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" \
xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> +    <xsd:import \
namespace="http://www.w3.org/XML/1998/namespace" /> +    <xsd:element name="root" \
msdata:IsDataSet="true"> +      <xsd:complexType>
+        <xsd:choice maxOccurs="unbounded">
+          <xsd:element name="metadata">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" />
+              </xsd:sequence>
+              <xsd:attribute name="name" use="required" type="xsd:string" />
+              <xsd:attribute name="type" type="xsd:string" />
+              <xsd:attribute name="mimetype" type="xsd:string" />
+              <xsd:attribute ref="xml:space" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="assembly">
+            <xsd:complexType>
+              <xsd:attribute name="alias" type="xsd:string" />
+              <xsd:attribute name="name" type="xsd:string" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="data">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" \
msdata:Ordinal="1" /> +                <xsd:element name="comment" type="xsd:string" \
minOccurs="0" msdata:Ordinal="2" /> +              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" \
msdata:Ordinal="1" /> +              <xsd:attribute name="type" type="xsd:string" \
msdata:Ordinal="3" /> +              <xsd:attribute name="mimetype" type="xsd:string" \
msdata:Ordinal="4" /> +              <xsd:attribute ref="xml:space" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="resheader">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" \
msdata:Ordinal="1" /> +              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" />
+            </xsd:complexType>
+          </xsd:element>
+        </xsd:choice>
+      </xsd:complexType>
+    </xsd:element>
+  </xsd:schema>
+  <resheader name="resmimetype">
+    <value>text/microsoft-resx</value>
+  </resheader>
+  <resheader name="version">
+    <value>2.0</value>
+  </resheader>
+  <resheader name="reader">
+    <value>System.Resources.ResXResourceReader, System.Windows.Forms, \
Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> +  \
</resheader> +  <resheader name="writer">
+    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, \
Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> +  \
</resheader> +  <assembly alias="mscorlib" name="mscorlib, Version=4.0.0.0, \
Culture=neutral, PublicKeyToken=b77a5c561934e089" /> +  <data name="label1.AutoSize" \
type="System.Boolean, mscorlib"> +    <value>True</value>
+  </data>
+  <assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, \
Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> +  <data name="label1.Location" \
type="System.Drawing.Point, System.Drawing"> +    <value>11, 60</value>
+  </data>
+  <data name="label1.Size" type="System.Drawing.Size, System.Drawing">
+    <value>63, 13</value>
+  </data>
+  <data name="label1.TabIndex" type="System.Int32, mscorlib">
+    <value>0</value>
+  </data>
+  <data name="label1.Text" xml:space="preserve">
+    <value>Site Version</value>
+  </data>
+  <data name="&gt;&gt;label1.Name" xml:space="preserve">
+    <value>label1</value>
+  </data>
+  <data name="&gt;&gt;label1.Type" xml:space="preserve">
+    <value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, \
Culture=neutral, PublicKeyToken=b77a5c561934e089</value> +  </data>
+  <data name="&gt;&gt;label1.Parent" xml:space="preserve">
+    <value>$this</value>
+  </data>
+  <data name="&gt;&gt;label1.ZOrder" xml:space="preserve">
+    <value>5</value>
+  </data>
+  <data name="cmbSiteVersion.Location" type="System.Drawing.Point, System.Drawing">
+    <value>92, 57</value>
+  </data>
+  <data name="cmbSiteVersion.Size" type="System.Drawing.Size, System.Drawing">
+    <value>199, 21</value>
+  </data>
+  <data name="cmbSiteVersion.TabIndex" type="System.Int32, mscorlib">
+    <value>1</value>
+  </data>
+  <data name="&gt;&gt;cmbSiteVersion.Name" xml:space="preserve">
+    <value>cmbSiteVersion</value>
+  </data>
+  <data name="&gt;&gt;cmbSiteVersion.Type" xml:space="preserve">
+    <value>System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, \
Culture=neutral, PublicKeyToken=b77a5c561934e089</value> +  </data>
+  <data name="&gt;&gt;cmbSiteVersion.Parent" xml:space="preserve">
+    <value>$this</value>
+  </data>
+  <data name="&gt;&gt;cmbSiteVersion.ZOrder" xml:space="preserve">
+    <value>4</value>
+  </data>
+  <assembly alias="System.Windows.Forms" name="System.Windows.Forms, \
Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> +  <data \
name="label2.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms"> \
+    <value>Top, Left, Right</value> +  </data>
+  <data name="label2.Location" type="System.Drawing.Point, System.Drawing">
+    <value>11, 9</value>
+  </data>
+  <data name="label2.Size" type="System.Drawing.Size, System.Drawing">
+    <value>289, 33</value>
+  </data>
+  <data name="label2.TabIndex" type="System.Int32, mscorlib">
+    <value>2</value>
+  </data>
+  <data name="label2.Text" xml:space="preserve">
+    <value>This tool checks the schema versions of all affected resources to ensure \
compatibility with the selected site version</value> +  </data>
+  <data name="&gt;&gt;label2.Name" xml:space="preserve">
+    <value>label2</value>
+  </data>
+  <data name="&gt;&gt;label2.Type" xml:space="preserve">
+    <value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, \
Culture=neutral, PublicKeyToken=b77a5c561934e089</value> +  </data>
+  <data name="&gt;&gt;label2.Parent" xml:space="preserve">
+    <value>$this</value>
+  </data>
+  <data name="&gt;&gt;label2.ZOrder" xml:space="preserve">
+    <value>3</value>
+  </data>
+  <data name="btnCheck.Location" type="System.Drawing.Point, System.Drawing">
+    <value>135, 98</value>
+  </data>
+  <data name="btnCheck.Size" type="System.Drawing.Size, System.Drawing">
+    <value>75, 23</value>
+  </data>
+  <data name="btnCheck.TabIndex" type="System.Int32, mscorlib">
+    <value>3</value>
+  </data>
+  <data name="btnCheck.Text" xml:space="preserve">
+    <value>Check</value>
+  </data>
+  <data name="&gt;&gt;btnCheck.Name" xml:space="preserve">
+    <value>btnCheck</value>
+  </data>
+  <data name="&gt;&gt;btnCheck.Type" xml:space="preserve">
+    <value>System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, \
Culture=neutral, PublicKeyToken=b77a5c561934e089</value> +  </data>
+  <data name="&gt;&gt;btnCheck.Parent" xml:space="preserve">
+    <value>$this</value>
+  </data>
+  <data name="&gt;&gt;btnCheck.ZOrder" xml:space="preserve">
+    <value>2</value>
+  </data>
+  <data name="btnCancel.Location" type="System.Drawing.Point, System.Drawing">
+    <value>216, 98</value>
+  </data>
+  <data name="btnCancel.Size" type="System.Drawing.Size, System.Drawing">
+    <value>75, 23</value>
+  </data>
+  <data name="btnCancel.TabIndex" type="System.Int32, mscorlib">
+    <value>4</value>
+  </data>
+  <data name="btnCancel.Text" xml:space="preserve">
+    <value>Cancel</value>
+  </data>
+  <data name="&gt;&gt;btnCancel.Name" xml:space="preserve">
+    <value>btnCancel</value>
+  </data>
+  <data name="&gt;&gt;btnCancel.Type" xml:space="preserve">
+    <value>System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, \
Culture=neutral, PublicKeyToken=b77a5c561934e089</value> +  </data>
+  <data name="&gt;&gt;btnCancel.Parent" xml:space="preserve">
+    <value>$this</value>
+  </data>
+  <data name="&gt;&gt;btnCancel.ZOrder" xml:space="preserve">
+    <value>1</value>
+  </data>
+  <data name="lblVersion.AutoSize" type="System.Boolean, mscorlib">
+    <value>True</value>
+  </data>
+  <data name="lblVersion.Location" type="System.Drawing.Point, System.Drawing">
+    <value>12, 103</value>
+  </data>
+  <data name="lblVersion.Size" type="System.Drawing.Size, System.Drawing">
+    <value>0, 13</value>
+  </data>
+  <data name="lblVersion.TabIndex" type="System.Int32, mscorlib">
+    <value>5</value>
+  </data>
+  <data name="&gt;&gt;lblVersion.Name" xml:space="preserve">
+    <value>lblVersion</value>
+  </data>
+  <data name="&gt;&gt;lblVersion.Type" xml:space="preserve">
+    <value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, \
Culture=neutral, PublicKeyToken=b77a5c561934e089</value> +  </data>
+  <data name="&gt;&gt;lblVersion.Parent" xml:space="preserve">
+    <value>$this</value>
+  </data>
+  <data name="&gt;&gt;lblVersion.ZOrder" xml:space="preserve">
+    <value>0</value>
+  </data>
+  <metadata name="$this.Localizable" type="System.Boolean, mscorlib, \
Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> +    \
<value>True</value> +  </metadata>
+  <data name="$this.ClientSize" type="System.Drawing.Size, System.Drawing">
+    <value>312, 133</value>
+  </data>
+  <data name="$this.StartPosition" type="System.Windows.Forms.FormStartPosition, \
System.Windows.Forms"> +    <value>CenterParent</value>
+  </data>
+  <data name="$this.Text" xml:space="preserve">
+    <value>Test Resource Compatibility</value>
+  </data>
+  <data name="&gt;&gt;$this.Name" xml:space="preserve">
+    <value>TestResourceCompatibilityDialog</value>
+  </data>
+  <data name="&gt;&gt;$this.Type" xml:space="preserve">
+    <value>System.Windows.Forms.Form, System.Windows.Forms, Version=4.0.0.0, \
Culture=neutral, PublicKeyToken=b77a5c561934e089</value> +  </data>
+</root>
\ No newline at end of file

_______________________________________________
mapguide-commits mailing list
mapguide-commits@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-commits


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic