[mapguide-commits] r6208 - in trunk/Tools/Maestro/Maestro.Base: .
Commands/SiteExplorer Properties UI
svn_mapguide at osgeo.org
svn_mapguide at osgeo.org
Tue Nov 8 09:57:45 EST 2011
Author: jng
Date: 2011-11-08 06:57:45 -0800 (Tue, 08 Nov 2011)
New Revision: 6208
Added:
trunk/Tools/Maestro/Maestro.Base/Commands/SiteExplorer/EditResourceHeaderCommand.cs
trunk/Tools/Maestro/Maestro.Base/UI/ResourceHeaderXmlDialog.Designer.cs
trunk/Tools/Maestro/Maestro.Base/UI/ResourceHeaderXmlDialog.cs
trunk/Tools/Maestro/Maestro.Base/UI/ResourceHeaderXmlDialog.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:
#1814: Support editing raw XML header content
Added: trunk/Tools/Maestro/Maestro.Base/Commands/SiteExplorer/EditResourceHeaderCommand.cs
===================================================================
--- trunk/Tools/Maestro/Maestro.Base/Commands/SiteExplorer/EditResourceHeaderCommand.cs (rev 0)
+++ trunk/Tools/Maestro/Maestro.Base/Commands/SiteExplorer/EditResourceHeaderCommand.cs 2011-11-08 14:57:45 UTC (rev 6208)
@@ -0,0 +1,56 @@
+#region Disclaimer / License
+// Copyright (C) 2011, Jackie Ng
+// http://trac.osgeo.org/mapguide/wiki/maestro, jumpinjackie at 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.Text;
+using ICSharpCode.Core;
+using Maestro.Base.Services;
+using Maestro.Base.UI;
+using OSGeo.MapGuide.ObjectModels.Common;
+
+namespace Maestro.Base.Commands.SiteExplorer
+{
+ internal class EditResourceHeaderCommand : AbstractMenuCommand
+ {
+ public override void Run()
+ {
+ var wb = Workbench.Instance;
+ var exp = wb.ActiveSiteExplorer;
+ if (exp.SelectedItems.Length == 1)
+ {
+ var connMgr = ServiceRegistry.GetService<ServerConnectionManager>();
+ var conn = connMgr.GetConnection(exp.ConnectionName);
+ var item = exp.SelectedItems[0];
+ var diag = new ResourceHeaderXmlDialog(item.ResourceId, conn.ResourceService);
+ if (item.IsFolder)
+ {
+ var header = conn.ResourceService.GetFolderHeader(item.ResourceId);
+ diag.LoadFolderHeader(header);
+ }
+ else
+ {
+ var header = conn.ResourceService.GetResourceHeader(item.ResourceId);
+ diag.LoadResourceHeader(header);
+ }
+ diag.ShowDialog();
+ }
+ }
+ }
+}
Modified: trunk/Tools/Maestro/Maestro.Base/Maestro.Base.addin
===================================================================
--- trunk/Tools/Maestro/Maestro.Base/Maestro.Base.addin 2011-11-08 14:25:54 UTC (rev 6207)
+++ trunk/Tools/Maestro/Maestro.Base/Maestro.Base.addin 2011-11-08 14:57:45 UTC (rev 6208)
@@ -461,6 +461,9 @@
icon="tick"
label="${res:SiteExplorer_ValidateResources}"
class="Maestro.Base.Commands.SiteExplorer.ValidateCommand" />
+ <MenuItem id="EditRawFolderHeader"
+ label="${res:EditRawHeader}"
+ class="Maestro.Base.Commands.SiteExplorer.EditResourceHeaderCommand" />
<MenuItem type="Separator" />
<MenuItem id="Properties"
label="${res:SiteExplorer_SelectedItem_Properties}"
@@ -573,10 +576,13 @@
icon="tick"
label="${res:SiteExplorer_ValidateResources}"
class="Maestro.Base.Commands.SiteExplorer.ValidateCommand" />
+ <MenuItem id="EditRawDocumentHeader"
+ label="${res:EditRawHeader}"
+ class="Maestro.Base.Commands.SiteExplorer.EditResourceHeaderCommand" />
<MenuItem type="Separator" />
<MenuItem id="Properties"
label="${res:SiteExplorer_SelectedItem_Properties}"
- class="Maestro.Base.Commands.SiteExplorer.ResourcePropertiesCommand" />
+ class="Maestro.Base.Commands.SiteExplorer.EditResourceHeaderCommand" />
</Condition>
</Path>
Modified: trunk/Tools/Maestro/Maestro.Base/Maestro.Base.csproj
===================================================================
--- trunk/Tools/Maestro/Maestro.Base/Maestro.Base.csproj 2011-11-08 14:25:54 UTC (rev 6207)
+++ trunk/Tools/Maestro/Maestro.Base/Maestro.Base.csproj 2011-11-08 14:57:45 UTC (rev 6208)
@@ -70,6 +70,7 @@
<Compile Include="Commands\CutCommand.cs" />
<Compile Include="Commands\EditAsXmlCommand.cs" />
<Compile Include="Commands\EditPackageCommand.cs" />
+ <Compile Include="Commands\SiteExplorer\EditResourceHeaderCommand.cs" />
<Compile Include="Commands\LoadPackageCommand.cs" />
<Compile Include="Commands\LocalFeatureSourcePreviewCommand.cs" />
<Compile Include="Commands\LoginCommand.cs" />
@@ -331,6 +332,12 @@
<DependentUpon>RepointerDialog.cs</DependentUpon>
</Compile>
<Compile Include="UI\RepositoryTreeModel.cs" />
+ <Compile Include="UI\ResourceHeaderXmlDialog.cs">
+ <SubType>Form</SubType>
+ </Compile>
+ <Compile Include="UI\ResourceHeaderXmlDialog.Designer.cs">
+ <DependentUpon>ResourceHeaderXmlDialog.cs</DependentUpon>
+ </Compile>
<Compile Include="UI\ResourceIconCache.cs" />
<Compile Include="UI\ResourcePropertiesDialog.cs">
<SubType>Form</SubType>
@@ -534,6 +541,9 @@
<EmbeddedResource Include="UI\RepointerDialog.resx">
<DependentUpon>RepointerDialog.cs</DependentUpon>
</EmbeddedResource>
+ <EmbeddedResource Include="UI\ResourceHeaderXmlDialog.resx">
+ <DependentUpon>ResourceHeaderXmlDialog.cs</DependentUpon>
+ </EmbeddedResource>
<EmbeddedResource Include="UI\ResourcePropertiesDialog.resx">
<DependentUpon>ResourcePropertiesDialog.cs</DependentUpon>
<SubType>Designer</SubType>
Modified: trunk/Tools/Maestro/Maestro.Base/Properties/Resources.Designer.cs
===================================================================
--- trunk/Tools/Maestro/Maestro.Base/Properties/Resources.Designer.cs 2011-11-08 14:25:54 UTC (rev 6207)
+++ trunk/Tools/Maestro/Maestro.Base/Properties/Resources.Designer.cs 2011-11-08 14:57:45 UTC (rev 6208)
@@ -697,6 +697,15 @@
}
/// <summary>
+ /// Looks up a localized string similar to Edit Raw Header XML.
+ /// </summary>
+ internal static string EditRawHeader {
+ get {
+ return ResourceManager.GetString("EditRawHeader", resourceCulture);
+ }
+ }
+
+ /// <summary>
/// Looks up a localized string similar to Singleton view content cannot be closed by users. The AllowUserClose property must return false.
/// </summary>
internal static string Error_Closeable_Singleton_Content {
Modified: trunk/Tools/Maestro/Maestro.Base/Properties/Resources.resx
===================================================================
--- trunk/Tools/Maestro/Maestro.Base/Properties/Resources.resx 2011-11-08 14:25:54 UTC (rev 6207)
+++ trunk/Tools/Maestro/Maestro.Base/Properties/Resources.resx 2011-11-08 14:57:45 UTC (rev 6208)
@@ -1076,4 +1076,7 @@
<data name="box__pencil" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\box--pencil.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
+ <data name="EditRawHeader" xml:space="preserve">
+ <value>Edit Raw Header XML</value>
+ </data>
</root>
\ No newline at end of file
Added: trunk/Tools/Maestro/Maestro.Base/UI/ResourceHeaderXmlDialog.Designer.cs
===================================================================
--- trunk/Tools/Maestro/Maestro.Base/UI/ResourceHeaderXmlDialog.Designer.cs (rev 0)
+++ trunk/Tools/Maestro/Maestro.Base/UI/ResourceHeaderXmlDialog.Designer.cs 2011-11-08 14:57:45 UTC (rev 6208)
@@ -0,0 +1,83 @@
+namespace Maestro.Base.UI
+{
+ partial class ResourceHeaderXmlDialog
+ {
+ /// <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(ResourceHeaderXmlDialog));
+ this.btnSave = new System.Windows.Forms.Button();
+ this.btnCancel = new System.Windows.Forms.Button();
+ this.txtXml = new System.Windows.Forms.RichTextBox();
+ this.lblResourceId = new System.Windows.Forms.Label();
+ this.SuspendLayout();
+ //
+ // btnSave
+ //
+ resources.ApplyResources(this.btnSave, "btnSave");
+ this.btnSave.Name = "btnSave";
+ this.btnSave.UseVisualStyleBackColor = true;
+ this.btnSave.Click += new System.EventHandler(this.btnSave_Click);
+ //
+ // btnCancel
+ //
+ resources.ApplyResources(this.btnCancel, "btnCancel");
+ this.btnCancel.Name = "btnCancel";
+ this.btnCancel.UseVisualStyleBackColor = true;
+ this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
+ //
+ // txtXml
+ //
+ resources.ApplyResources(this.txtXml, "txtXml");
+ this.txtXml.Name = "txtXml";
+ //
+ // lblResourceId
+ //
+ resources.ApplyResources(this.lblResourceId, "lblResourceId");
+ this.lblResourceId.Name = "lblResourceId";
+ //
+ // ResourceHeaderXmlDialog
+ //
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
+ resources.ApplyResources(this, "$this");
+ this.Controls.Add(this.lblResourceId);
+ this.Controls.Add(this.txtXml);
+ this.Controls.Add(this.btnCancel);
+ this.Controls.Add(this.btnSave);
+ this.Name = "ResourceHeaderXmlDialog";
+ this.ResumeLayout(false);
+ this.PerformLayout();
+
+ }
+
+ #endregion
+
+ private System.Windows.Forms.Button btnSave;
+ private System.Windows.Forms.Button btnCancel;
+ private System.Windows.Forms.RichTextBox txtXml;
+ private System.Windows.Forms.Label lblResourceId;
+ }
+}
\ No newline at end of file
Added: trunk/Tools/Maestro/Maestro.Base/UI/ResourceHeaderXmlDialog.cs
===================================================================
--- trunk/Tools/Maestro/Maestro.Base/UI/ResourceHeaderXmlDialog.cs (rev 0)
+++ trunk/Tools/Maestro/Maestro.Base/UI/ResourceHeaderXmlDialog.cs 2011-11-08 14:57:45 UTC (rev 6208)
@@ -0,0 +1,100 @@
+#region Disclaimer / License
+// Copyright (C) 2011, Jackie Ng
+// http://trac.osgeo.org/mapguide/wiki/maestro, jumpinjackie at 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.Text;
+using System.Windows.Forms;
+using System.Xml.Serialization;
+using System.IO;
+using OSGeo.MapGuide.ObjectModels.Common;
+using ICSharpCode.Core;
+using OSGeo.MapGuide.MaestroAPI.Services;
+
+namespace Maestro.Base.UI
+{
+ public partial class ResourceHeaderXmlDialog : Form
+ {
+ private ResourceHeaderXmlDialog()
+ {
+ InitializeComponent();
+ }
+
+ private IResourceService _resSvc;
+ private string _resourceId;
+
+ public ResourceHeaderXmlDialog(string resourceId, IResourceService resSvc)
+ : this()
+ {
+ _resSvc = resSvc;
+ _resourceId = resourceId;
+ lblResourceId.Text = _resourceId;
+ }
+
+ private XmlSerializer _serializer;
+
+ public Stream XmlStream { get; set; }
+
+ bool isFolder;
+
+ public void LoadResourceHeader(ResourceDocumentHeaderType docHeader)
+ {
+ txtXml.Text = docHeader.Serialize();
+ _serializer = new XmlSerializer(typeof(ResourceDocumentHeaderType));
+ isFolder = false;
+ }
+
+ public void LoadFolderHeader(ResourceFolderHeaderType folderHeader)
+ {
+ txtXml.Text = folderHeader.Serialize();
+ _serializer = new XmlSerializer(typeof(ResourceFolderHeaderType));
+ isFolder = true;
+ }
+
+ private void btnSave_Click(object sender, EventArgs e)
+ {
+ try
+ {
+ var obj = _serializer.Deserialize(new StringReader(txtXml.Text));
+
+ if (isFolder)
+ _resSvc.SetFolderHeader(_resourceId, (ResourceFolderHeaderType)obj);
+ else
+ _resSvc.SetResourceHeader(_resourceId, (ResourceDocumentHeaderType)obj);
+
+ LoggingService.Info("Resource Header Updated: " + _resourceId);
+ }
+ catch (Exception ex)
+ {
+ MessageService.ShowError(ex);
+ return;
+ }
+
+ this.DialogResult = DialogResult.OK;
+ }
+
+ private void btnCancel_Click(object sender, EventArgs e)
+ {
+ this.DialogResult = DialogResult.Cancel;
+ }
+ }
+}
Added: trunk/Tools/Maestro/Maestro.Base/UI/ResourceHeaderXmlDialog.resx
===================================================================
--- trunk/Tools/Maestro/Maestro.Base/UI/ResourceHeaderXmlDialog.resx (rev 0)
+++ trunk/Tools/Maestro/Maestro.Base/UI/ResourceHeaderXmlDialog.resx 2011-11-08 14:57:45 UTC (rev 6208)
@@ -0,0 +1,240 @@
+<?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=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+ </resheader>
+ <resheader name="writer">
+ <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+ </resheader>
+ <assembly alias="System.Drawing" name="System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
+ <data name="btnSave.Location" type="System.Drawing.Point, System.Drawing">
+ <value>356, 344</value>
+ </data>
+ <data name="btnSave.Size" type="System.Drawing.Size, System.Drawing">
+ <value>75, 23</value>
+ </data>
+ <assembly alias="mscorlib" name="mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
+ <data name="btnSave.TabIndex" type="System.Int32, mscorlib">
+ <value>0</value>
+ </data>
+ <data name="btnSave.Text" xml:space="preserve">
+ <value>Save</value>
+ </data>
+ <data name=">>btnSave.Name" xml:space="preserve">
+ <value>btnSave</value>
+ </data>
+ <data name=">>btnSave.Type" xml:space="preserve">
+ <value>System.Windows.Forms.Button, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+ </data>
+ <data name=">>btnSave.Parent" xml:space="preserve">
+ <value>$this</value>
+ </data>
+ <data name=">>btnSave.ZOrder" xml:space="preserve">
+ <value>3</value>
+ </data>
+ <data name="btnCancel.Location" type="System.Drawing.Point, System.Drawing">
+ <value>437, 344</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>1</value>
+ </data>
+ <data name="btnCancel.Text" xml:space="preserve">
+ <value>Cancel</value>
+ </data>
+ <data name=">>btnCancel.Name" xml:space="preserve">
+ <value>btnCancel</value>
+ </data>
+ <data name=">>btnCancel.Type" xml:space="preserve">
+ <value>System.Windows.Forms.Button, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+ </data>
+ <data name=">>btnCancel.Parent" xml:space="preserve">
+ <value>$this</value>
+ </data>
+ <data name=">>btnCancel.ZOrder" xml:space="preserve">
+ <value>2</value>
+ </data>
+ <assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
+ <data name="txtXml.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
+ <value>Top, Bottom, Left, Right</value>
+ </data>
+ <data name="txtXml.Location" type="System.Drawing.Point, System.Drawing">
+ <value>13, 37</value>
+ </data>
+ <data name="txtXml.Size" type="System.Drawing.Size, System.Drawing">
+ <value>499, 301</value>
+ </data>
+ <data name="txtXml.TabIndex" type="System.Int32, mscorlib">
+ <value>2</value>
+ </data>
+ <data name="txtXml.Text" xml:space="preserve">
+ <value />
+ </data>
+ <data name=">>txtXml.Name" xml:space="preserve">
+ <value>txtXml</value>
+ </data>
+ <data name=">>txtXml.Type" xml:space="preserve">
+ <value>System.Windows.Forms.RichTextBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+ </data>
+ <data name=">>txtXml.Parent" xml:space="preserve">
+ <value>$this</value>
+ </data>
+ <data name=">>txtXml.ZOrder" xml:space="preserve">
+ <value>1</value>
+ </data>
+ <data name="lblResourceId.AutoSize" type="System.Boolean, mscorlib">
+ <value>True</value>
+ </data>
+ <data name="lblResourceId.Location" type="System.Drawing.Point, System.Drawing">
+ <value>12, 9</value>
+ </data>
+ <data name="lblResourceId.Size" type="System.Drawing.Size, System.Drawing">
+ <value>0, 13</value>
+ </data>
+ <data name="lblResourceId.TabIndex" type="System.Int32, mscorlib">
+ <value>3</value>
+ </data>
+ <data name=">>lblResourceId.Name" xml:space="preserve">
+ <value>lblResourceId</value>
+ </data>
+ <data name=">>lblResourceId.Type" xml:space="preserve">
+ <value>System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+ </data>
+ <data name=">>lblResourceId.Parent" xml:space="preserve">
+ <value>$this</value>
+ </data>
+ <data name=">>lblResourceId.ZOrder" xml:space="preserve">
+ <value>0</value>
+ </data>
+ <metadata name="$this.Localizable" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+ <value>True</value>
+ </metadata>
+ <data name="$this.ClientSize" type="System.Drawing.Size, System.Drawing">
+ <value>524, 382</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>Edit Header XML</value>
+ </data>
+ <data name=">>$this.Name" xml:space="preserve">
+ <value>ResourceHeaderXmlDialog</value>
+ </data>
+ <data name=">>$this.Type" xml:space="preserve">
+ <value>System.Windows.Forms.Form, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+ </data>
+</root>
\ No newline at end of file
More information about the mapguide-commits
mailing list