[mapguide-commits] r6890 - in trunk/Tools/Maestro/Maestro.Editors: . FeatureSource/Providers
svn_mapguide at osgeo.org
svn_mapguide at osgeo.org
Wed Jul 11 06:28:38 PDT 2012
Author: jng
Date: 2012-07-11 06:28:37 -0700 (Wed, 11 Jul 2012)
New Revision: 6890
Added:
trunk/Tools/Maestro/Maestro.Editors/FeatureSource/Providers/SetCredentialsDialog.Designer.cs
trunk/Tools/Maestro/Maestro.Editors/FeatureSource/Providers/SetCredentialsDialog.cs
trunk/Tools/Maestro/Maestro.Editors/FeatureSource/Providers/SetCredentialsDialog.resx
Modified:
trunk/Tools/Maestro/Maestro.Editors/FeatureSource/Providers/GenericCtrl.Designer.cs
trunk/Tools/Maestro/Maestro.Editors/FeatureSource/Providers/GenericCtrl.cs
trunk/Tools/Maestro/Maestro.Editors/FeatureSource/Providers/GenericCtrl.resx
trunk/Tools/Maestro/Maestro.Editors/Maestro.Editors.csproj
Log:
#2071: Add secured credential support for the generic Feature Source editor. A new "Set Credentials" link allows you to nominate the username and password connection parameters and specify the actual values, which will then be encrypted into MG_USER_CREDENTIALS and uploaded. The nominated parameters will then have %MG_USERNAME% and %MG_PASSWORD% set in its place.
Modified: trunk/Tools/Maestro/Maestro.Editors/FeatureSource/Providers/GenericCtrl.Designer.cs
===================================================================
--- trunk/Tools/Maestro/Maestro.Editors/FeatureSource/Providers/GenericCtrl.Designer.cs 2012-07-11 12:55:06 UTC (rev 6889)
+++ trunk/Tools/Maestro/Maestro.Editors/FeatureSource/Providers/GenericCtrl.Designer.cs 2012-07-11 13:28:37 UTC (rev 6890)
@@ -47,6 +47,7 @@
this.pickAnAliasedFileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.pickAnAliasedDirectoryToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.mGDATAFILEPATHToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.lnkSetCredentials = new System.Windows.Forms.LinkLabel();
this.contentPanel.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.grdConnectionParameters)).BeginInit();
this.ctxEnumerable.SuspendLayout();
@@ -55,6 +56,7 @@
//
// contentPanel
//
+ this.contentPanel.Controls.Add(this.lnkSetCredentials);
this.contentPanel.Controls.Add(this.txtTestResult);
this.contentPanel.Controls.Add(this.btnTest);
this.contentPanel.Controls.Add(this.cmbLongTransaction);
@@ -86,10 +88,10 @@
this.grdConnectionParameters.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.grdConnectionParameters.Name = "grdConnectionParameters";
this.grdConnectionParameters.RowHeadersVisible = false;
+ this.grdConnectionParameters.CellPainting += new System.Windows.Forms.DataGridViewCellPaintingEventHandler(this.grdConnectionParameters_CellPainting);
this.grdConnectionParameters.CellValueChanged += new System.Windows.Forms.DataGridViewCellEventHandler(this.grdConnectionParameters_CellValueChanged);
+ this.grdConnectionParameters.EditingControlShowing += new System.Windows.Forms.DataGridViewEditingControlShowingEventHandler(this.grdConnectionParameters_EditingControlShowing);
this.grdConnectionParameters.MouseClick += new System.Windows.Forms.MouseEventHandler(this.grdConnectionParameters_MouseClick);
- this.grdConnectionParameters.CellPainting += new System.Windows.Forms.DataGridViewCellPaintingEventHandler(this.grdConnectionParameters_CellPainting);
- this.grdConnectionParameters.EditingControlShowing += new System.Windows.Forms.DataGridViewEditingControlShowingEventHandler(this.grdConnectionParameters_EditingControlShowing);
//
// label2
//
@@ -180,12 +182,18 @@
resources.ApplyResources(this.mGDATAFILEPATHToolStripMenuItem, "mGDATAFILEPATHToolStripMenuItem");
this.mGDATAFILEPATHToolStripMenuItem.Click += new System.EventHandler(this.useActiveResourceDataFile_Click);
//
+ // lnkSetCredentials
+ //
+ resources.ApplyResources(this.lnkSetCredentials, "lnkSetCredentials");
+ this.lnkSetCredentials.Name = "lnkSetCredentials";
+ this.lnkSetCredentials.TabStop = true;
+ this.lnkSetCredentials.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.lnkSetCredentials_LinkClicked);
+ //
// GenericCtrl
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
- this.HeaderText = "Feature Source (using Generic Editor)";
+ resources.ApplyResources(this, "$this");
this.Name = "GenericCtrl";
- resources.ApplyResources(this, "$this");
this.Controls.SetChildIndex(this.contentPanel, 0);
this.contentPanel.ResumeLayout(false);
this.contentPanel.PerformLayout();
@@ -215,5 +223,6 @@
private System.Windows.Forms.ToolStripMenuItem pickAnAliasedDirectoryToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem mGDATAFILEPATHToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem pickADataStoreFromListToolStripMenuItem;
+ private System.Windows.Forms.LinkLabel lnkSetCredentials;
}
}
Modified: trunk/Tools/Maestro/Maestro.Editors/FeatureSource/Providers/GenericCtrl.cs
===================================================================
--- trunk/Tools/Maestro/Maestro.Editors/FeatureSource/Providers/GenericCtrl.cs 2012-07-11 12:55:06 UTC (rev 6889)
+++ trunk/Tools/Maestro/Maestro.Editors/FeatureSource/Providers/GenericCtrl.cs 2012-07-11 13:28:37 UTC (rev 6890)
@@ -78,6 +78,8 @@
private void InitGrid()
{
+ grdConnectionParameters.Rows.Clear();
+ grdConnectionParameters.Columns.Clear();
var prov = _service.FeatureService.GetFeatureProvider(_fs.Provider);
var colName = new DataGridViewColumn();
@@ -374,5 +376,28 @@
_fs.SetConnectionProperty(name, value == null ? string.Empty : value.ToString());
}
}
+
+ private void lnkSetCredentials_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
+ {
+ var prov = _service.FeatureService.GetFeatureProvider(_fs.Provider);
+ var connProps = new List<string>();
+ foreach (var p in prov.ConnectionProperties)
+ {
+ if (!p.Enumerable)
+ connProps.Add(p.Name);
+ }
+ using (var diag = new SetCredentialsDialog(connProps.ToArray()))
+ {
+ if (diag.ShowDialog() == DialogResult.OK)
+ {
+ _fs.SetConnectionProperty(diag.UserProperty, "%MG_USERNAME%");
+ _fs.SetConnectionProperty(diag.PasswordProperty, "%MG_PASSWORD%");
+ _fs.SetEncryptedCredentials(diag.Username, diag.Password);
+ _service.SyncSessionCopy();
+ InitGrid();
+ resDataCtrl.Init(_service);
+ }
+ }
+ }
}
}
Modified: trunk/Tools/Maestro/Maestro.Editors/FeatureSource/Providers/GenericCtrl.resx
===================================================================
--- trunk/Tools/Maestro/Maestro.Editors/FeatureSource/Providers/GenericCtrl.resx 2012-07-11 12:55:06 UTC (rev 6889)
+++ trunk/Tools/Maestro/Maestro.Editors/FeatureSource/Providers/GenericCtrl.resx 2012-07-11 13:28:37 UTC (rev 6890)
@@ -112,20 +112,47 @@
<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>
+ <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=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+ <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=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
+ <assembly alias="mscorlib" name="mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
+ <data name="lnkSetCredentials.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="lnkSetCredentials.Location" type="System.Drawing.Point, System.Drawing">
+ <value>137, 46</value>
+ </data>
+ <data name="lnkSetCredentials.Size" type="System.Drawing.Size, System.Drawing">
+ <value>78, 13</value>
+ </data>
+ <data name="lnkSetCredentials.TabIndex" type="System.Int32, mscorlib">
+ <value>11</value>
+ </data>
+ <data name="lnkSetCredentials.Text" xml:space="preserve">
+ <value>Set Credentials</value>
+ </data>
+ <data name=">>lnkSetCredentials.Name" xml:space="preserve">
+ <value>lnkSetCredentials</value>
+ </data>
+ <data name=">>lnkSetCredentials.Type" xml:space="preserve">
+ <value>System.Windows.Forms.LinkLabel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+ </data>
+ <data name=">>lnkSetCredentials.Parent" xml:space="preserve">
+ <value>contentPanel</value>
+ </data>
+ <data name=">>lnkSetCredentials.ZOrder" xml:space="preserve">
+ <value>0</value>
+ </data>
+ <assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="txtTestResult.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Bottom, Left, Right</value>
</data>
- <assembly alias="System.Drawing" name="System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="txtTestResult.Location" type="System.Drawing.Point, System.Drawing">
<value>154, 326</value>
</data>
- <assembly alias="mscorlib" name="mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="txtTestResult.Multiline" type="System.Boolean, mscorlib">
<value>True</value>
</data>
@@ -142,13 +169,13 @@
<value>txtTestResult</value>
</data>
<data name=">>txtTestResult.Type" xml:space="preserve">
- <value>System.Windows.Forms.TextBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+ <value>System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name=">>txtTestResult.Parent" xml:space="preserve">
<value>contentPanel</value>
</data>
<data name=">>txtTestResult.ZOrder" xml:space="preserve">
- <value>0</value>
+ <value>1</value>
</data>
<data name="btnTest.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Bottom, Left</value>
@@ -169,13 +196,13 @@
<value>btnTest</value>
</data>
<data name=">>btnTest.Type" xml:space="preserve">
- <value>System.Windows.Forms.Button, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+ <value>System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name=">>btnTest.Parent" xml:space="preserve">
<value>contentPanel</value>
</data>
<data name=">>btnTest.ZOrder" xml:space="preserve">
- <value>1</value>
+ <value>2</value>
</data>
<data name="cmbLongTransaction.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Bottom, Left, Right</value>
@@ -193,13 +220,13 @@
<value>cmbLongTransaction</value>
</data>
<data name=">>cmbLongTransaction.Type" xml:space="preserve">
- <value>System.Windows.Forms.ComboBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+ <value>System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name=">>cmbLongTransaction.Parent" xml:space="preserve">
<value>contentPanel</value>
</data>
<data name=">>cmbLongTransaction.ZOrder" xml:space="preserve">
- <value>2</value>
+ <value>3</value>
</data>
<data name="label4.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Bottom, Left</value>
@@ -223,13 +250,13 @@
<value>label4</value>
</data>
<data name=">>label4.Type" xml:space="preserve">
- <value>System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+ <value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name=">>label4.Parent" xml:space="preserve">
<value>contentPanel</value>
</data>
<data name=">>label4.ZOrder" xml:space="preserve">
- <value>3</value>
+ <value>4</value>
</data>
<data name="resDataCtrl.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Top, Bottom, Left, Right</value>
@@ -247,13 +274,13 @@
<value>resDataCtrl</value>
</data>
<data name=">>resDataCtrl.Type" xml:space="preserve">
- <value>Maestro.Editors.Common.ResourceDataCtrl, Maestro.Editors, Version=3.0.0.5676, Culture=neutral, PublicKeyToken=null</value>
+ <value>Maestro.Editors.Common.ResourceDataCtrl, Maestro.Editors, Version=5.0.0.6640, Culture=neutral, PublicKeyToken=f526c48929fda856</value>
</data>
<data name=">>resDataCtrl.Parent" xml:space="preserve">
<value>contentPanel</value>
</data>
<data name=">>resDataCtrl.ZOrder" xml:space="preserve">
- <value>4</value>
+ <value>5</value>
</data>
<data name="label3.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
@@ -274,13 +301,13 @@
<value>label3</value>
</data>
<data name=">>label3.Type" xml:space="preserve">
- <value>System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+ <value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name=">>label3.Parent" xml:space="preserve">
<value>contentPanel</value>
</data>
<data name=">>label3.ZOrder" xml:space="preserve">
- <value>5</value>
+ <value>6</value>
</data>
<data name="label2.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
@@ -301,13 +328,13 @@
<value>label2</value>
</data>
<data name=">>label2.Type" xml:space="preserve">
- <value>System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+ <value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name=">>label2.Parent" xml:space="preserve">
<value>contentPanel</value>
</data>
<data name=">>label2.ZOrder" xml:space="preserve">
- <value>6</value>
+ <value>7</value>
</data>
<data name="grdConnectionParameters.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Top, Bottom, Left</value>
@@ -325,13 +352,13 @@
<value>grdConnectionParameters</value>
</data>
<data name=">>grdConnectionParameters.Type" xml:space="preserve">
- <value>System.Windows.Forms.DataGridView, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+ <value>System.Windows.Forms.DataGridView, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name=">>grdConnectionParameters.Parent" xml:space="preserve">
<value>contentPanel</value>
</data>
<data name=">>grdConnectionParameters.ZOrder" xml:space="preserve">
- <value>7</value>
+ <value>8</value>
</data>
<data name="txtProvider.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Top, Left, Right</value>
@@ -349,13 +376,13 @@
<value>txtProvider</value>
</data>
<data name=">>txtProvider.Type" xml:space="preserve">
- <value>System.Windows.Forms.TextBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+ <value>System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name=">>txtProvider.Parent" xml:space="preserve">
<value>contentPanel</value>
</data>
<data name=">>txtProvider.ZOrder" xml:space="preserve">
- <value>8</value>
+ <value>9</value>
</data>
<data name="label1.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
@@ -376,13 +403,13 @@
<value>label1</value>
</data>
<data name=">>label1.Type" xml:space="preserve">
- <value>System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+ <value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name=">>label1.Parent" xml:space="preserve">
<value>contentPanel</value>
</data>
<data name=">>label1.ZOrder" xml:space="preserve">
- <value>9</value>
+ <value>10</value>
</data>
<data name="contentPanel.Size" type="System.Drawing.Size, System.Drawing">
<value>683, 372</value>
@@ -391,26 +418,17 @@
<value>contentPanel</value>
</data>
<data name=">>contentPanel.Type" xml:space="preserve">
- <value>System.Windows.Forms.Panel, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+ <value>System.Windows.Forms.Panel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name=">>contentPanel.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name=">>contentPanel.ZOrder" xml:space="preserve">
- <value>2</value>
+ <value>0</value>
</data>
- <metadata name="ctxEnumerable.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
+ <metadata name="ctxEnumerable.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
- <data name="ctxEnumerable.Size" type="System.Drawing.Size, System.Drawing">
- <value>208, 48</value>
- </data>
- <data name=">>ctxEnumerable.Name" xml:space="preserve">
- <value>ctxEnumerable</value>
- </data>
- <data name=">>ctxEnumerable.Type" xml:space="preserve">
- <value>System.Windows.Forms.ContextMenuStrip, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
- </data>
<data name="pickAValueToolStripMenuItem.Size" type="System.Drawing.Size, System.Drawing">
<value>207, 22</value>
</data>
@@ -423,18 +441,18 @@
<data name="pickADataStoreFromListToolStripMenuItem.Text" xml:space="preserve">
<value>Pick a data store from list</value>
</data>
- <metadata name="ctxProperty.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
- <value>149, 17</value>
- </metadata>
- <data name="ctxProperty.Size" type="System.Drawing.Size, System.Drawing">
- <value>221, 70</value>
+ <data name="ctxEnumerable.Size" type="System.Drawing.Size, System.Drawing">
+ <value>208, 48</value>
</data>
- <data name=">>ctxProperty.Name" xml:space="preserve">
- <value>ctxProperty</value>
+ <data name=">>ctxEnumerable.Name" xml:space="preserve">
+ <value>ctxEnumerable</value>
</data>
- <data name=">>ctxProperty.Type" xml:space="preserve">
- <value>System.Windows.Forms.ContextMenuStrip, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+ <data name=">>ctxEnumerable.Type" xml:space="preserve">
+ <value>System.Windows.Forms.ContextMenuStrip, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
+ <metadata name="ctxProperty.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
+ <value>149, 17</value>
+ </metadata>
<data name="pickAnAliasedFileToolStripMenuItem.Size" type="System.Drawing.Size, System.Drawing">
<value>220, 22</value>
</data>
@@ -453,9 +471,21 @@
<data name="mGDATAFILEPATHToolStripMenuItem.Text" xml:space="preserve">
<value>Use active resource data file</value>
</data>
- <metadata name="$this.Localizable" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+ <data name="ctxProperty.Size" type="System.Drawing.Size, System.Drawing">
+ <value>221, 70</value>
+ </data>
+ <data name=">>ctxProperty.Name" xml:space="preserve">
+ <value>ctxProperty</value>
+ </data>
+ <data name=">>ctxProperty.Type" xml:space="preserve">
+ <value>System.Windows.Forms.ContextMenuStrip, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</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.HeaderText" xml:space="preserve">
+ <value>Feature Source (using Generic Editor)</value>
+ </data>
<data name="$this.Size" type="System.Drawing.Size, System.Drawing">
<value>683, 399</value>
</data>
@@ -463,36 +493,36 @@
<value>pickAValueToolStripMenuItem</value>
</data>
<data name=">>pickAValueToolStripMenuItem.Type" xml:space="preserve">
- <value>System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+ <value>System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name=">>pickADataStoreFromListToolStripMenuItem.Name" xml:space="preserve">
<value>pickADataStoreFromListToolStripMenuItem</value>
</data>
<data name=">>pickADataStoreFromListToolStripMenuItem.Type" xml:space="preserve">
- <value>System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+ <value>System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name=">>pickAnAliasedFileToolStripMenuItem.Name" xml:space="preserve">
<value>pickAnAliasedFileToolStripMenuItem</value>
</data>
<data name=">>pickAnAliasedFileToolStripMenuItem.Type" xml:space="preserve">
- <value>System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+ <value>System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name=">>pickAnAliasedDirectoryToolStripMenuItem.Name" xml:space="preserve">
<value>pickAnAliasedDirectoryToolStripMenuItem</value>
</data>
<data name=">>pickAnAliasedDirectoryToolStripMenuItem.Type" xml:space="preserve">
- <value>System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+ <value>System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name=">>mGDATAFILEPATHToolStripMenuItem.Name" xml:space="preserve">
<value>mGDATAFILEPATHToolStripMenuItem</value>
</data>
<data name=">>mGDATAFILEPATHToolStripMenuItem.Type" xml:space="preserve">
- <value>System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+ <value>System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name=">>$this.Name" xml:space="preserve">
<value>GenericCtrl</value>
</data>
<data name=">>$this.Type" xml:space="preserve">
- <value>Maestro.Editors.Common.EditorBindableCollapsiblePanel, Maestro.Editors, Version=3.0.0.5676, Culture=neutral, PublicKeyToken=null</value>
+ <value>Maestro.Editors.Common.EditorBindableCollapsiblePanel, Maestro.Editors, Version=5.0.0.6640, Culture=neutral, PublicKeyToken=f526c48929fda856</value>
</data>
</root>
\ No newline at end of file
Added: trunk/Tools/Maestro/Maestro.Editors/FeatureSource/Providers/SetCredentialsDialog.Designer.cs
===================================================================
--- trunk/Tools/Maestro/Maestro.Editors/FeatureSource/Providers/SetCredentialsDialog.Designer.cs (rev 0)
+++ trunk/Tools/Maestro/Maestro.Editors/FeatureSource/Providers/SetCredentialsDialog.Designer.cs 2012-07-11 13:28:37 UTC (rev 6890)
@@ -0,0 +1,190 @@
+namespace Maestro.Editors.FeatureSource.Providers
+{
+ partial class SetCredentialsDialog
+ {
+ /// <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()
+ {
+ this.label1 = new System.Windows.Forms.Label();
+ this.label2 = new System.Windows.Forms.Label();
+ this.txtUserProperty = new System.Windows.Forms.TextBox();
+ this.txtPasswordProperty = new System.Windows.Forms.TextBox();
+ this.txtPassword = new System.Windows.Forms.TextBox();
+ this.txtUsername = new System.Windows.Forms.TextBox();
+ this.btnUserProperty = new System.Windows.Forms.Button();
+ this.btnPasswordProperty = new System.Windows.Forms.Button();
+ this.btnOK = new System.Windows.Forms.Button();
+ this.btnCancel = new System.Windows.Forms.Button();
+ this.label3 = new System.Windows.Forms.Label();
+ this.SuspendLayout();
+ //
+ // label1
+ //
+ this.label1.AutoSize = true;
+ this.label1.Location = new System.Drawing.Point(13, 13);
+ this.label1.Name = "label1";
+ this.label1.Size = new System.Drawing.Size(55, 13);
+ this.label1.TabIndex = 0;
+ this.label1.Text = "Username";
+ //
+ // label2
+ //
+ this.label2.AutoSize = true;
+ this.label2.Location = new System.Drawing.Point(13, 87);
+ this.label2.Name = "label2";
+ this.label2.Size = new System.Drawing.Size(53, 13);
+ this.label2.TabIndex = 1;
+ this.label2.Text = "Password";
+ //
+ // txtUserProperty
+ //
+ this.txtUserProperty.Location = new System.Drawing.Point(92, 10);
+ this.txtUserProperty.Name = "txtUserProperty";
+ this.txtUserProperty.ReadOnly = true;
+ this.txtUserProperty.Size = new System.Drawing.Size(132, 20);
+ this.txtUserProperty.TabIndex = 2;
+ //
+ // txtPasswordProperty
+ //
+ this.txtPasswordProperty.Location = new System.Drawing.Point(92, 84);
+ this.txtPasswordProperty.Name = "txtPasswordProperty";
+ this.txtPasswordProperty.ReadOnly = true;
+ this.txtPasswordProperty.Size = new System.Drawing.Size(132, 20);
+ this.txtPasswordProperty.TabIndex = 3;
+ //
+ // txtPassword
+ //
+ this.txtPassword.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
+ | System.Windows.Forms.AnchorStyles.Right)));
+ this.txtPassword.Location = new System.Drawing.Point(92, 110);
+ this.txtPassword.Name = "txtPassword";
+ this.txtPassword.PasswordChar = '*';
+ this.txtPassword.Size = new System.Drawing.Size(351, 20);
+ this.txtPassword.TabIndex = 5;
+ this.txtPassword.TextChanged += new System.EventHandler(this.txtPassword_TextChanged);
+ //
+ // txtUsername
+ //
+ this.txtUsername.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
+ | System.Windows.Forms.AnchorStyles.Right)));
+ this.txtUsername.Location = new System.Drawing.Point(92, 36);
+ this.txtUsername.Name = "txtUsername";
+ this.txtUsername.Size = new System.Drawing.Size(351, 20);
+ this.txtUsername.TabIndex = 4;
+ this.txtUsername.TextChanged += new System.EventHandler(this.txtUsername_TextChanged);
+ //
+ // btnUserProperty
+ //
+ this.btnUserProperty.Location = new System.Drawing.Point(230, 8);
+ this.btnUserProperty.Name = "btnUserProperty";
+ this.btnUserProperty.Size = new System.Drawing.Size(32, 23);
+ this.btnUserProperty.TabIndex = 6;
+ this.btnUserProperty.Text = "...";
+ this.btnUserProperty.UseVisualStyleBackColor = true;
+ this.btnUserProperty.Click += new System.EventHandler(this.btnUserProperty_Click);
+ //
+ // btnPasswordProperty
+ //
+ this.btnPasswordProperty.Location = new System.Drawing.Point(230, 82);
+ this.btnPasswordProperty.Name = "btnPasswordProperty";
+ this.btnPasswordProperty.Size = new System.Drawing.Size(32, 23);
+ this.btnPasswordProperty.TabIndex = 7;
+ this.btnPasswordProperty.Text = "...";
+ this.btnPasswordProperty.UseVisualStyleBackColor = true;
+ this.btnPasswordProperty.Click += new System.EventHandler(this.btnPasswordProperty_Click);
+ //
+ // btnOK
+ //
+ this.btnOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+ this.btnOK.Enabled = false;
+ this.btnOK.Location = new System.Drawing.Point(287, 155);
+ this.btnOK.Name = "btnOK";
+ this.btnOK.Size = new System.Drawing.Size(75, 23);
+ this.btnOK.TabIndex = 8;
+ this.btnOK.Text = "OK";
+ this.btnOK.UseVisualStyleBackColor = true;
+ this.btnOK.Click += new System.EventHandler(this.btnOK_Click);
+ //
+ // btnCancel
+ //
+ this.btnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+ this.btnCancel.Location = new System.Drawing.Point(368, 155);
+ this.btnCancel.Name = "btnCancel";
+ this.btnCancel.Size = new System.Drawing.Size(75, 23);
+ this.btnCancel.TabIndex = 9;
+ this.btnCancel.Text = "Cancel";
+ this.btnCancel.UseVisualStyleBackColor = true;
+ this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
+ //
+ // label3
+ //
+ this.label3.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
+ | System.Windows.Forms.AnchorStyles.Right)));
+ this.label3.Location = new System.Drawing.Point(16, 143);
+ this.label3.Name = "label3";
+ this.label3.Size = new System.Drawing.Size(263, 40);
+ this.label3.TabIndex = 10;
+ this.label3.Text = "Select the username and password properties and specify their values";
+ //
+ // SetCredentialsDialog
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.ClientSize = new System.Drawing.Size(455, 190);
+ this.ControlBox = false;
+ this.Controls.Add(this.label3);
+ this.Controls.Add(this.btnCancel);
+ this.Controls.Add(this.btnOK);
+ this.Controls.Add(this.btnPasswordProperty);
+ this.Controls.Add(this.btnUserProperty);
+ this.Controls.Add(this.txtPassword);
+ this.Controls.Add(this.txtUsername);
+ this.Controls.Add(this.txtPasswordProperty);
+ this.Controls.Add(this.txtUserProperty);
+ this.Controls.Add(this.label2);
+ this.Controls.Add(this.label1);
+ this.Name = "SetCredentialsDialog";
+ this.Text = "User Credentials";
+ this.ResumeLayout(false);
+ this.PerformLayout();
+
+ }
+
+ #endregion
+
+ private System.Windows.Forms.Label label1;
+ private System.Windows.Forms.Label label2;
+ private System.Windows.Forms.TextBox txtUserProperty;
+ private System.Windows.Forms.TextBox txtPasswordProperty;
+ private System.Windows.Forms.TextBox txtPassword;
+ private System.Windows.Forms.TextBox txtUsername;
+ private System.Windows.Forms.Button btnUserProperty;
+ private System.Windows.Forms.Button btnPasswordProperty;
+ private System.Windows.Forms.Button btnOK;
+ private System.Windows.Forms.Button btnCancel;
+ private System.Windows.Forms.Label label3;
+ }
+}
\ No newline at end of file
Added: trunk/Tools/Maestro/Maestro.Editors/FeatureSource/Providers/SetCredentialsDialog.cs
===================================================================
--- trunk/Tools/Maestro/Maestro.Editors/FeatureSource/Providers/SetCredentialsDialog.cs (rev 0)
+++ trunk/Tools/Maestro/Maestro.Editors/FeatureSource/Providers/SetCredentialsDialog.cs 2012-07-11 13:28:37 UTC (rev 6890)
@@ -0,0 +1,104 @@
+#region Disclaimer / License
+// Copyright (C) 2012, 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 Maestro.Editors.Common;
+
+namespace Maestro.Editors.FeatureSource.Providers
+{
+ internal partial class SetCredentialsDialog : Form
+ {
+ private string[] _propertyNames;
+
+ public SetCredentialsDialog(string [] propertyNames)
+ {
+ InitializeComponent();
+ _propertyNames = propertyNames;
+ }
+
+ public string UserProperty { get { return txtUserProperty.Text; } }
+
+ public string PasswordProperty { get { return txtPasswordProperty.Text; } }
+
+ public string Username { get { return txtUsername.Text; } }
+
+ public string Password { get { return txtPassword.Text; } }
+
+ private void btnUserProperty_Click(object sender, EventArgs e)
+ {
+ var list = new List<string>(_propertyNames);
+ list.Remove(txtPasswordProperty.Text);
+
+ string item = GenericItemSelectionDialog.SelectItem(null, null, list.ToArray());
+ if (item != null)
+ {
+ txtUserProperty.Text = item;
+ CheckSubmissionState();
+ }
+ }
+
+ private void btnPasswordProperty_Click(object sender, EventArgs e)
+ {
+ var list = new List<string>(_propertyNames);
+ list.Remove(txtUserProperty.Text);
+
+ string item = GenericItemSelectionDialog.SelectItem(null, null, list.ToArray());
+ if (item != null)
+ {
+ txtPasswordProperty.Text = item;
+ CheckSubmissionState();
+ }
+ }
+
+ private void CheckSubmissionState()
+ {
+ btnOK.Enabled = !string.IsNullOrEmpty(txtUserProperty.Text) &&
+ !string.IsNullOrEmpty(txtPasswordProperty.Text) &&
+ !string.IsNullOrEmpty(txtUsername.Text) &&
+ !string.IsNullOrEmpty(txtPassword.Text) &&
+ txtUserProperty.Text != txtPasswordProperty.Text;
+ }
+
+ private void btnCancel_Click(object sender, EventArgs e)
+ {
+ this.DialogResult = System.Windows.Forms.DialogResult.Cancel;
+ }
+
+ private void btnOK_Click(object sender, EventArgs e)
+ {
+ this.DialogResult = System.Windows.Forms.DialogResult.OK;
+ }
+
+ private void txtUsername_TextChanged(object sender, EventArgs e)
+ {
+ CheckSubmissionState();
+ }
+
+ private void txtPassword_TextChanged(object sender, EventArgs e)
+ {
+ CheckSubmissionState();
+ }
+ }
+}
Added: trunk/Tools/Maestro/Maestro.Editors/FeatureSource/Providers/SetCredentialsDialog.resx
===================================================================
--- trunk/Tools/Maestro/Maestro.Editors/FeatureSource/Providers/SetCredentialsDialog.resx (rev 0)
+++ trunk/Tools/Maestro/Maestro.Editors/FeatureSource/Providers/SetCredentialsDialog.resx 2012-07-11 13:28:37 UTC (rev 6890)
@@ -0,0 +1,120 @@
+<?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>
+</root>
\ No newline at end of file
Modified: trunk/Tools/Maestro/Maestro.Editors/Maestro.Editors.csproj
===================================================================
--- trunk/Tools/Maestro/Maestro.Editors/Maestro.Editors.csproj 2012-07-11 12:55:06 UTC (rev 6889)
+++ trunk/Tools/Maestro/Maestro.Editors/Maestro.Editors.csproj 2012-07-11 13:28:37 UTC (rev 6890)
@@ -382,6 +382,12 @@
<Compile Include="FeatureSource\Providers\Sdf\SdfFileCtrl.Designer.cs">
<DependentUpon>SdfFileCtrl.cs</DependentUpon>
</Compile>
+ <Compile Include="FeatureSource\Providers\SetCredentialsDialog.cs">
+ <SubType>Form</SubType>
+ </Compile>
+ <Compile Include="FeatureSource\Providers\SetCredentialsDialog.Designer.cs">
+ <DependentUpon>SetCredentialsDialog.cs</DependentUpon>
+ </Compile>
<Compile Include="FeatureSource\Providers\Shp\ShpFileCtrl.cs">
<SubType>UserControl</SubType>
</Compile>
@@ -1405,6 +1411,9 @@
<DependentUpon>SdfFileCtrl.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
+ <EmbeddedResource Include="FeatureSource\Providers\SetCredentialsDialog.resx">
+ <DependentUpon>SetCredentialsDialog.cs</DependentUpon>
+ </EmbeddedResource>
<EmbeddedResource Include="FeatureSource\Providers\Shp\ShpFileCtrl.resx">
<DependentUpon>ShpFileCtrl.cs</DependentUpon>
<SubType>Designer</SubType>
More information about the mapguide-commits
mailing list