mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-11-25 06:16:37 +01:00
Merge pull request #358 from GaborApatiNagy/CP-10144
CP-10144: Support CIFS as an SR type in XenCenter
This commit is contained in:
commit
c7f3ea5b30
@ -52,6 +52,7 @@ namespace XenAdmin.Wizards
|
||||
#region Wizard pages
|
||||
private readonly NewSrWizardNamePage xenTabPageSrName;
|
||||
private readonly CIFS_ISO xenTabPageCifsIso;
|
||||
private readonly CifsFrontend xenTabPageCifs;
|
||||
private readonly CSLG xenTabPageCslg;
|
||||
private readonly VHDoNFS xenTabPageVhdoNFS;
|
||||
private readonly NFS_ISO xenTabPageNfsIso;
|
||||
@ -103,6 +104,7 @@ namespace XenAdmin.Wizards
|
||||
|
||||
xenTabPageSrName = new NewSrWizardNamePage();
|
||||
xenTabPageCifsIso = new CIFS_ISO();
|
||||
xenTabPageCifs = new CifsFrontend();
|
||||
xenTabPageCslg = new CSLG();
|
||||
xenTabPageVhdoNFS = new VHDoNFS();
|
||||
xenTabPageNfsIso = new NFS_ISO();
|
||||
@ -305,6 +307,8 @@ namespace XenAdmin.Wizards
|
||||
}
|
||||
else if (m_srWizardType is SrWizardType_CifsIso)
|
||||
AddPage(xenTabPageCifsIso);
|
||||
else if (m_srWizardType is SrWizardType_Cifs)
|
||||
AddPage(xenTabPageCifs);
|
||||
else if (m_srWizardType is SrWizardType_NfsIso)
|
||||
AddPage(xenTabPageNfsIso);
|
||||
|
||||
@ -333,6 +337,8 @@ namespace XenAdmin.Wizards
|
||||
xenTabPageCifsIso.SrWizardType = m_srWizardType;
|
||||
else if (m_srWizardType is SrWizardType_NfsIso)
|
||||
xenTabPageNfsIso.SrWizardType = m_srWizardType;
|
||||
else if (m_srWizardType is SrWizardType_Cifs)
|
||||
xenTabPageCifs.SrWizardType = m_srWizardType;
|
||||
#endregion
|
||||
}
|
||||
else if (senderPagetype == typeof(CIFS_ISO))
|
||||
@ -340,6 +346,11 @@ namespace XenAdmin.Wizards
|
||||
m_srWizardType.DeviceConfig = xenTabPageCifsIso.DeviceConfig;
|
||||
SetCustomDescription(m_srWizardType, xenTabPageCifsIso.SrDescription);
|
||||
}
|
||||
else if (senderPagetype == typeof(CifsFrontend))
|
||||
{
|
||||
m_srWizardType.DeviceConfig = xenTabPageCifs.DeviceConfig;
|
||||
SetCustomDescription(m_srWizardType, xenTabPageCifs.SrDescription);
|
||||
}
|
||||
else if (senderPagetype == typeof(LVMoISCSI))
|
||||
{
|
||||
m_srWizardType.UUID = xenTabPageLvmoIscsi.UUID;
|
||||
|
@ -40,6 +40,7 @@
|
||||
this.upsellPage1 = new XenAdmin.Controls.UpsellPage();
|
||||
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.radioButtonCifs = new System.Windows.Forms.RadioButton();
|
||||
this.verticalDividerLine = new System.Windows.Forms.Label();
|
||||
this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel();
|
||||
this.SRBlurb = new XenAdmin.Controls.Common.AutoHeightLabel();
|
||||
@ -131,6 +132,7 @@
|
||||
//
|
||||
// panel1
|
||||
//
|
||||
this.panel1.Controls.Add(this.radioButtonCifs);
|
||||
this.panel1.Controls.Add(this.verticalDividerLine);
|
||||
this.panel1.Controls.Add(this.labelVirtualDiskStorage);
|
||||
this.panel1.Controls.Add(this.labelISOlibrary);
|
||||
@ -143,6 +145,15 @@
|
||||
resources.ApplyResources(this.panel1, "panel1");
|
||||
this.panel1.Name = "panel1";
|
||||
//
|
||||
// radioButtonCifs
|
||||
//
|
||||
resources.ApplyResources(this.radioButtonCifs, "radioButtonCifs");
|
||||
this.radioButtonCifs.BackColor = System.Drawing.Color.Transparent;
|
||||
this.radioButtonCifs.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||
this.radioButtonCifs.Name = "radioButtonCifs";
|
||||
this.radioButtonCifs.UseVisualStyleBackColor = false;
|
||||
this.radioButtonCifs.CheckedChanged += new System.EventHandler(this.RadioButton_CheckedChanged);
|
||||
//
|
||||
// verticalDividerLine
|
||||
//
|
||||
this.verticalDividerLine.BackColor = System.Drawing.SystemColors.ControlDark;
|
||||
@ -208,5 +219,6 @@
|
||||
private XenAdmin.Controls.DeprecationBanner deprecationBanner;
|
||||
private System.Windows.Forms.Label verticalDividerLine;
|
||||
private System.Windows.Forms.Label selectedStoreTypeLabel;
|
||||
private System.Windows.Forms.RadioButton radioButtonCifs;
|
||||
}
|
||||
}
|
||||
|
@ -61,6 +61,7 @@ namespace XenAdmin.Wizards.NewSRWizard_Pages
|
||||
radioButtonNfsIso.Tag = new SrWizardType_NfsIso();
|
||||
radioButtonCifsIso.Tag = new SrWizardType_CifsIso();
|
||||
radioButtonCslg.Tag = new SrWizardType_Cslg();
|
||||
radioButtonCifs.Tag = new SrWizardType_Cifs();
|
||||
}
|
||||
|
||||
private void SetupDeprecationBanner(bool visible)
|
||||
@ -89,6 +90,8 @@ namespace XenAdmin.Wizards.NewSRWizard_Pages
|
||||
{
|
||||
radioButtonCslg.Visible = !Helpers.CreedenceOrGreater(Connection); //Hide iSL radio button for Creedence or higher (StorageLink is not supported)
|
||||
|
||||
radioButtonCifs.Enabled = !Helpers.FeatureForbidden(Connection, Host.RestrictCifs);
|
||||
|
||||
foreach (var radioButton in RadioButtons)
|
||||
{
|
||||
var frontend = (SrWizardType)radioButton.Tag;
|
||||
@ -214,7 +217,7 @@ namespace XenAdmin.Wizards.NewSRWizard_Pages
|
||||
|
||||
private RadioButton[] RadioButtons
|
||||
{
|
||||
get { return new[] { radioButtonNfs, radioButtonIscsi, radioButtonFibreChannel, radioButtonCslg, radioButtonNfsIso, radioButtonCifsIso }; }
|
||||
get { return new[] { radioButtonNfs, radioButtonIscsi, radioButtonFibreChannel, radioButtonCslg, radioButtonNfsIso, radioButtonCifsIso, radioButtonCifs }; }
|
||||
}
|
||||
|
||||
public void PreselectNewSrWizardType(Type type)
|
||||
|
@ -112,20 +112,20 @@
|
||||
<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="mscorlib" name="mscorlib, 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="radioButtonNfs.AutoSize" type="System.Boolean, mscorlib">
|
||||
<value>True</value>
|
||||
</data>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<data name="radioButtonNfs.Font" type="System.Drawing.Font, System.Drawing">
|
||||
<value>Segoe UI, 9pt</value>
|
||||
</data>
|
||||
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
<data name="radioButtonNfs.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
|
||||
<value>NoControl</value>
|
||||
</data>
|
||||
@ -145,13 +145,13 @@
|
||||
<value>radioButtonNfs</value>
|
||||
</data>
|
||||
<data name=">>radioButtonNfs.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.RadioButton, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
<value>System.Windows.Forms.RadioButton, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>radioButtonNfs.Parent" xml:space="preserve">
|
||||
<value>panel1</value>
|
||||
</data>
|
||||
<data name=">>radioButtonNfs.ZOrder" xml:space="preserve">
|
||||
<value>3</value>
|
||||
<value>4</value>
|
||||
</data>
|
||||
<data name="radioButtonIscsi.AutoSize" type="System.Boolean, mscorlib">
|
||||
<value>True</value>
|
||||
@ -178,13 +178,13 @@
|
||||
<value>radioButtonIscsi</value>
|
||||
</data>
|
||||
<data name=">>radioButtonIscsi.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.RadioButton, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
<value>System.Windows.Forms.RadioButton, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>radioButtonIscsi.Parent" xml:space="preserve">
|
||||
<value>panel1</value>
|
||||
</data>
|
||||
<data name=">>radioButtonIscsi.ZOrder" xml:space="preserve">
|
||||
<value>4</value>
|
||||
<value>5</value>
|
||||
</data>
|
||||
<data name="radioButtonNfsIso.AutoSize" type="System.Boolean, mscorlib">
|
||||
<value>True</value>
|
||||
@ -196,7 +196,7 @@
|
||||
<value>NoControl</value>
|
||||
</data>
|
||||
<data name="radioButtonNfsIso.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>6, 183</value>
|
||||
<value>6, 208</value>
|
||||
</data>
|
||||
<data name="radioButtonNfsIso.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>67, 19</value>
|
||||
@ -211,13 +211,13 @@
|
||||
<value>radioButtonNfsIso</value>
|
||||
</data>
|
||||
<data name=">>radioButtonNfsIso.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.RadioButton, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
<value>System.Windows.Forms.RadioButton, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>radioButtonNfsIso.Parent" xml:space="preserve">
|
||||
<value>panel1</value>
|
||||
</data>
|
||||
<data name=">>radioButtonNfsIso.ZOrder" xml:space="preserve">
|
||||
<value>8</value>
|
||||
<value>9</value>
|
||||
</data>
|
||||
<data name="radioButtonCifsIso.AutoSize" type="System.Boolean, mscorlib">
|
||||
<value>True</value>
|
||||
@ -229,7 +229,7 @@
|
||||
<value>NoControl</value>
|
||||
</data>
|
||||
<data name="radioButtonCifsIso.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>6, 159</value>
|
||||
<value>6, 184</value>
|
||||
</data>
|
||||
<data name="radioButtonCifsIso.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>172, 19</value>
|
||||
@ -244,13 +244,13 @@
|
||||
<value>radioButtonCifsIso</value>
|
||||
</data>
|
||||
<data name=">>radioButtonCifsIso.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.RadioButton, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
<value>System.Windows.Forms.RadioButton, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>radioButtonCifsIso.Parent" xml:space="preserve">
|
||||
<value>panel1</value>
|
||||
</data>
|
||||
<data name=">>radioButtonCifsIso.ZOrder" xml:space="preserve">
|
||||
<value>7</value>
|
||||
<value>8</value>
|
||||
</data>
|
||||
<data name="radioButtonFibreChannel.AutoSize" type="System.Boolean, mscorlib">
|
||||
<value>True</value>
|
||||
@ -277,13 +277,13 @@
|
||||
<value>radioButtonFibreChannel</value>
|
||||
</data>
|
||||
<data name=">>radioButtonFibreChannel.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.RadioButton, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
<value>System.Windows.Forms.RadioButton, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>radioButtonFibreChannel.Parent" xml:space="preserve">
|
||||
<value>panel1</value>
|
||||
</data>
|
||||
<data name=">>radioButtonFibreChannel.ZOrder" xml:space="preserve">
|
||||
<value>5</value>
|
||||
<value>6</value>
|
||||
</data>
|
||||
<data name="radioButtonCslg.AutoSize" type="System.Boolean, mscorlib">
|
||||
<value>True</value>
|
||||
@ -295,7 +295,7 @@
|
||||
<value>NoControl</value>
|
||||
</data>
|
||||
<data name="radioButtonCslg.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>6, 103</value>
|
||||
<value>6, 128</value>
|
||||
</data>
|
||||
<data name="radioButtonCslg.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>150, 19</value>
|
||||
@ -310,13 +310,13 @@
|
||||
<value>radioButtonCslg</value>
|
||||
</data>
|
||||
<data name=">>radioButtonCslg.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.RadioButton, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
<value>System.Windows.Forms.RadioButton, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>radioButtonCslg.Parent" xml:space="preserve">
|
||||
<value>panel1</value>
|
||||
</data>
|
||||
<data name=">>radioButtonCslg.ZOrder" xml:space="preserve">
|
||||
<value>6</value>
|
||||
<value>7</value>
|
||||
</data>
|
||||
<data name="labelISOlibrary.AutoSize" type="System.Boolean, mscorlib">
|
||||
<value>True</value>
|
||||
@ -328,7 +328,7 @@
|
||||
<value>NoControl</value>
|
||||
</data>
|
||||
<data name="labelISOlibrary.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>3, 133</value>
|
||||
<value>3, 158</value>
|
||||
</data>
|
||||
<data name="labelISOlibrary.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
|
||||
<value>3, 10, 3, 10</value>
|
||||
@ -346,13 +346,13 @@
|
||||
<value>labelISOlibrary</value>
|
||||
</data>
|
||||
<data name=">>labelISOlibrary.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=">>labelISOlibrary.Parent" xml:space="preserve">
|
||||
<value>panel1</value>
|
||||
</data>
|
||||
<data name=">>labelISOlibrary.ZOrder" xml:space="preserve">
|
||||
<value>2</value>
|
||||
<value>3</value>
|
||||
</data>
|
||||
<data name="labelVirtualDiskStorage.AutoSize" type="System.Boolean, mscorlib">
|
||||
<value>True</value>
|
||||
@ -382,13 +382,13 @@
|
||||
<value>labelVirtualDiskStorage</value>
|
||||
</data>
|
||||
<data name=">>labelVirtualDiskStorage.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=">>labelVirtualDiskStorage.Parent" xml:space="preserve">
|
||||
<value>panel1</value>
|
||||
</data>
|
||||
<data name=">>labelVirtualDiskStorage.ZOrder" xml:space="preserve">
|
||||
<value>1</value>
|
||||
<value>2</value>
|
||||
</data>
|
||||
<data name="upsellPage1.AutoSize" type="System.Boolean, mscorlib">
|
||||
<value>True</value>
|
||||
@ -420,7 +420,7 @@
|
||||
<value>3, 51</value>
|
||||
</data>
|
||||
<data name="upsellPage1.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>243, 67</value>
|
||||
<value>297, 67</value>
|
||||
</data>
|
||||
<data name="upsellPage1.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>0</value>
|
||||
@ -440,6 +440,39 @@
|
||||
<data name="tableLayoutPanel1.ColumnCount" type="System.Int32, mscorlib">
|
||||
<value>2</value>
|
||||
</data>
|
||||
<data name="radioButtonCifs.AutoSize" type="System.Boolean, mscorlib">
|
||||
<value>True</value>
|
||||
</data>
|
||||
<data name="radioButtonCifs.Font" type="System.Drawing.Font, System.Drawing">
|
||||
<value>Segoe UI, 9pt</value>
|
||||
</data>
|
||||
<data name="radioButtonCifs.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
|
||||
<value>NoControl</value>
|
||||
</data>
|
||||
<data name="radioButtonCifs.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>6, 103</value>
|
||||
</data>
|
||||
<data name="radioButtonCifs.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>48, 19</value>
|
||||
</data>
|
||||
<data name="radioButtonCifs.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>19</value>
|
||||
</data>
|
||||
<data name="radioButtonCifs.Text" xml:space="preserve">
|
||||
<value>CIFS</value>
|
||||
</data>
|
||||
<data name=">>radioButtonCifs.Name" xml:space="preserve">
|
||||
<value>radioButtonCifs</value>
|
||||
</data>
|
||||
<data name=">>radioButtonCifs.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.RadioButton, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>radioButtonCifs.Parent" xml:space="preserve">
|
||||
<value>panel1</value>
|
||||
</data>
|
||||
<data name=">>radioButtonCifs.ZOrder" xml:space="preserve">
|
||||
<value>0</value>
|
||||
</data>
|
||||
<data name="verticalDividerLine.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>222, 0</value>
|
||||
</data>
|
||||
@ -456,19 +489,19 @@
|
||||
<value>verticalDividerLine</value>
|
||||
</data>
|
||||
<data name=">>verticalDividerLine.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=">>verticalDividerLine.Parent" xml:space="preserve">
|
||||
<value>panel1</value>
|
||||
</data>
|
||||
<data name=">>verticalDividerLine.ZOrder" xml:space="preserve">
|
||||
<value>0</value>
|
||||
<value>1</value>
|
||||
</data>
|
||||
<data name="panel1.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>3, 3</value>
|
||||
</data>
|
||||
<data name="panel1.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>225, 224</value>
|
||||
<value>225, 271</value>
|
||||
</data>
|
||||
<data name="panel1.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>35</value>
|
||||
@ -477,7 +510,7 @@
|
||||
<value>panel1</value>
|
||||
</data>
|
||||
<data name=">>panel1.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=">>panel1.Parent" xml:space="preserve">
|
||||
<value>tableLayoutPanel1</value>
|
||||
@ -516,7 +549,7 @@
|
||||
<value>selectedStoreTypeLabel</value>
|
||||
</data>
|
||||
<data name=">>selectedStoreTypeLabel.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=">>selectedStoreTypeLabel.Parent" xml:space="preserve">
|
||||
<value>tableLayoutPanel2</value>
|
||||
@ -543,7 +576,7 @@
|
||||
<value>tableLayoutPanel2</value>
|
||||
</data>
|
||||
<data name=">>tableLayoutPanel2.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.TableLayoutPanel, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
<value>System.Windows.Forms.TableLayoutPanel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>tableLayoutPanel2.Parent" xml:space="preserve">
|
||||
<value>tableLayoutPanel1</value>
|
||||
@ -573,7 +606,7 @@
|
||||
<value>tableLayoutPanel1</value>
|
||||
</data>
|
||||
<data name=">>tableLayoutPanel1.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.TableLayoutPanel, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
<value>System.Windows.Forms.TableLayoutPanel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>tableLayoutPanel1.Parent" xml:space="preserve">
|
||||
<value>$this</value>
|
||||
@ -681,7 +714,7 @@
|
||||
<value>selectedStoreTypeLabel</value>
|
||||
</data>
|
||||
<data name=">>selectedStoreTypeLabel.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=">>selectedStoreTypeLabel.Parent" xml:space="preserve">
|
||||
<value>tableLayoutPanel2</value>
|
||||
@ -689,7 +722,7 @@
|
||||
<data name=">>selectedStoreTypeLabel.ZOrder" xml:space="preserve">
|
||||
<value>3</value>
|
||||
</data>
|
||||
<metadata name="$this.Localizable" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<metadata name="$this.Localizable" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<data name="$this.AutoScaleDimensions" type="System.Drawing.SizeF, System.Drawing">
|
||||
|
176
XenAdmin/Wizards/NewSRWizard_Pages/Frontends/CIFSFrontend.Designer.cs
generated
Normal file
176
XenAdmin/Wizards/NewSRWizard_Pages/Frontends/CIFSFrontend.Designer.cs
generated
Normal file
@ -0,0 +1,176 @@
|
||||
namespace XenAdmin.Wizards.NewSRWizard_Pages.Frontends
|
||||
{
|
||||
partial class CifsFrontend
|
||||
{
|
||||
/// <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 Component 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(CifsFrontend));
|
||||
this.CifsScanButton = new System.Windows.Forms.Button();
|
||||
this.listBoxCifsSRs = new XenAdmin.Controls.SRListBox();
|
||||
this.radioButtonCifsReattach = new System.Windows.Forms.RadioButton();
|
||||
this.radioButtonCifsNew = new System.Windows.Forms.RadioButton();
|
||||
this.label2 = new System.Windows.Forms.Label();
|
||||
this.labelAdvancedOptions = new System.Windows.Forms.Label();
|
||||
this.label3 = new System.Windows.Forms.Label();
|
||||
this.CifsServerPathTextBox = new System.Windows.Forms.TextBox();
|
||||
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
||||
this.passwordTextBox = new System.Windows.Forms.TextBox();
|
||||
this.label4 = new System.Windows.Forms.Label();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.userNameTextBox = new System.Windows.Forms.TextBox();
|
||||
this.tableLayoutPanel1.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// CifsScanButton
|
||||
//
|
||||
resources.ApplyResources(this.CifsScanButton, "CifsScanButton");
|
||||
this.CifsScanButton.Name = "CifsScanButton";
|
||||
this.CifsScanButton.UseVisualStyleBackColor = true;
|
||||
this.CifsScanButton.Click += new System.EventHandler(this.buttonCifsScan_Click);
|
||||
//
|
||||
// listBoxCifsSRs
|
||||
//
|
||||
this.tableLayoutPanel1.SetColumnSpan(this.listBoxCifsSRs, 3);
|
||||
resources.ApplyResources(this.listBoxCifsSRs, "listBoxCifsSRs");
|
||||
this.listBoxCifsSRs.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
|
||||
this.listBoxCifsSRs.Name = "listBoxCifsSRs";
|
||||
this.listBoxCifsSRs.Sorted = true;
|
||||
this.listBoxCifsSRs.SelectedIndexChanged += new System.EventHandler(this.listBoxCifsSRs_SelectedIndexChanged);
|
||||
//
|
||||
// radioButtonCifsReattach
|
||||
//
|
||||
resources.ApplyResources(this.radioButtonCifsReattach, "radioButtonCifsReattach");
|
||||
this.tableLayoutPanel1.SetColumnSpan(this.radioButtonCifsReattach, 3);
|
||||
this.radioButtonCifsReattach.Name = "radioButtonCifsReattach";
|
||||
this.radioButtonCifsReattach.UseVisualStyleBackColor = true;
|
||||
this.radioButtonCifsReattach.CheckedChanged += new System.EventHandler(this.radioButtonCifsReattach_CheckedChanged);
|
||||
//
|
||||
// radioButtonCifsNew
|
||||
//
|
||||
resources.ApplyResources(this.radioButtonCifsNew, "radioButtonCifsNew");
|
||||
this.radioButtonCifsNew.Checked = true;
|
||||
this.tableLayoutPanel1.SetColumnSpan(this.radioButtonCifsNew, 3);
|
||||
this.radioButtonCifsNew.Name = "radioButtonCifsNew";
|
||||
this.radioButtonCifsNew.TabStop = true;
|
||||
this.radioButtonCifsNew.UseVisualStyleBackColor = true;
|
||||
this.radioButtonCifsNew.CheckedChanged += new System.EventHandler(this.radioButtonCifsNew_CheckedChanged);
|
||||
//
|
||||
// label2
|
||||
//
|
||||
resources.ApplyResources(this.label2, "label2");
|
||||
this.label2.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||
this.label2.Name = "label2";
|
||||
//
|
||||
// labelAdvancedOptions
|
||||
//
|
||||
resources.ApplyResources(this.labelAdvancedOptions, "labelAdvancedOptions");
|
||||
this.labelAdvancedOptions.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||
this.labelAdvancedOptions.Name = "labelAdvancedOptions";
|
||||
//
|
||||
// label3
|
||||
//
|
||||
resources.ApplyResources(this.label3, "label3");
|
||||
this.label3.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||
this.label3.Name = "label3";
|
||||
//
|
||||
// CifsServerPathTextBox
|
||||
//
|
||||
resources.ApplyResources(this.CifsServerPathTextBox, "CifsServerPathTextBox");
|
||||
this.CifsServerPathTextBox.Name = "CifsServerPathTextBox";
|
||||
this.CifsServerPathTextBox.TextChanged += new System.EventHandler(this.AnyCifsParameters_TextChanged);
|
||||
//
|
||||
// tableLayoutPanel1
|
||||
//
|
||||
resources.ApplyResources(this.tableLayoutPanel1, "tableLayoutPanel1");
|
||||
this.tableLayoutPanel1.Controls.Add(this.passwordTextBox, 1, 4);
|
||||
this.tableLayoutPanel1.Controls.Add(this.label4, 0, 4);
|
||||
this.tableLayoutPanel1.Controls.Add(this.label1, 0, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.label3, 0, 1);
|
||||
this.tableLayoutPanel1.Controls.Add(this.CifsServerPathTextBox, 1, 1);
|
||||
this.tableLayoutPanel1.Controls.Add(this.CifsScanButton, 2, 1);
|
||||
this.tableLayoutPanel1.Controls.Add(this.labelAdvancedOptions, 0, 3);
|
||||
this.tableLayoutPanel1.Controls.Add(this.userNameTextBox, 1, 3);
|
||||
this.tableLayoutPanel1.Controls.Add(this.radioButtonCifsNew, 0, 6);
|
||||
this.tableLayoutPanel1.Controls.Add(this.radioButtonCifsReattach, 0, 7);
|
||||
this.tableLayoutPanel1.Controls.Add(this.listBoxCifsSRs, 0, 8);
|
||||
this.tableLayoutPanel1.Controls.Add(this.label2, 1, 2);
|
||||
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
|
||||
//
|
||||
// passwordTextBox
|
||||
//
|
||||
resources.ApplyResources(this.passwordTextBox, "passwordTextBox");
|
||||
this.passwordTextBox.Name = "passwordTextBox";
|
||||
this.passwordTextBox.UseSystemPasswordChar = true;
|
||||
this.passwordTextBox.TextChanged += new System.EventHandler(this.AnyCifsParameters_TextChanged);
|
||||
//
|
||||
// label4
|
||||
//
|
||||
resources.ApplyResources(this.label4, "label4");
|
||||
this.label4.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||
this.label4.Name = "label4";
|
||||
//
|
||||
// label1
|
||||
//
|
||||
resources.ApplyResources(this.label1, "label1");
|
||||
this.tableLayoutPanel1.SetColumnSpan(this.label1, 3);
|
||||
this.label1.Name = "label1";
|
||||
//
|
||||
// userNameTextBox
|
||||
//
|
||||
resources.ApplyResources(this.userNameTextBox, "userNameTextBox");
|
||||
this.userNameTextBox.Name = "userNameTextBox";
|
||||
this.userNameTextBox.TextChanged += new System.EventHandler(this.AnyCifsParameters_TextChanged);
|
||||
//
|
||||
// CifsFrontend
|
||||
//
|
||||
resources.ApplyResources(this, "$this");
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
|
||||
this.Controls.Add(this.tableLayoutPanel1);
|
||||
this.Name = "CifsFrontend";
|
||||
this.tableLayoutPanel1.ResumeLayout(false);
|
||||
this.tableLayoutPanel1.PerformLayout();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.Button CifsScanButton;
|
||||
private System.Windows.Forms.RadioButton radioButtonCifsReattach;
|
||||
private XenAdmin.Controls.SRListBox listBoxCifsSRs;
|
||||
private System.Windows.Forms.RadioButton radioButtonCifsNew;
|
||||
private System.Windows.Forms.Label label2;
|
||||
private System.Windows.Forms.Label labelAdvancedOptions;
|
||||
private System.Windows.Forms.Label label3;
|
||||
private System.Windows.Forms.TextBox CifsServerPathTextBox;
|
||||
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
|
||||
private System.Windows.Forms.Label label1;
|
||||
private System.Windows.Forms.TextBox passwordTextBox;
|
||||
private System.Windows.Forms.Label label4;
|
||||
private System.Windows.Forms.TextBox userNameTextBox;
|
||||
}
|
||||
}
|
265
XenAdmin/Wizards/NewSRWizard_Pages/Frontends/CIFSFrontend.cs
Normal file
265
XenAdmin/Wizards/NewSRWizard_Pages/Frontends/CIFSFrontend.cs
Normal file
@ -0,0 +1,265 @@
|
||||
/* Copyright (c) Citrix Systems Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms,
|
||||
* with or without modification, are permitted provided
|
||||
* that the following conditions are met:
|
||||
*
|
||||
* * Redistributions of source code must retain the above
|
||||
* copyright notice, this list of conditions and the
|
||||
* following disclaimer.
|
||||
* * Redistributions in binary form must reproduce the above
|
||||
* copyright notice, this list of conditions and the
|
||||
* following disclaimer in the documentation and/or other
|
||||
* materials provided with the distribution.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
|
||||
* CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
|
||||
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
|
||||
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
||||
* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
||||
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||||
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Windows.Forms;
|
||||
using XenAdmin.Actions;
|
||||
using XenAPI;
|
||||
using XenAdmin.Controls;
|
||||
using XenAdmin.Core;
|
||||
using XenAdmin.Dialogs;
|
||||
|
||||
|
||||
namespace XenAdmin.Wizards.NewSRWizard_Pages.Frontends
|
||||
{
|
||||
public partial class CifsFrontend : XenTabPage
|
||||
{
|
||||
private const string SERVER = "server";
|
||||
private const string SERVERPATH = "serverpath";
|
||||
private const string OPTIONS = "options";
|
||||
|
||||
public CifsFrontend()
|
||||
{
|
||||
InitializeComponent();
|
||||
ToggleReattachControlsEnabledState(false);
|
||||
}
|
||||
|
||||
#region XenTabPage overrides
|
||||
|
||||
public override string Text { get { return Messages.NEWSR_LOCATION; } }
|
||||
|
||||
public override string PageTitle { get { return Messages.NEWSR_PATH_CIFS; } }
|
||||
|
||||
public override string HelpID { get { return "Location_CIFS"; } }
|
||||
|
||||
public override bool EnableNext()
|
||||
{
|
||||
return SrWizardHelpers.ValidateCifsSharename(CifsServerPathTextBox.Text)
|
||||
&& (radioButtonCifsNew.Checked || listBoxCifsSRs.SelectedIndex > -1);
|
||||
}
|
||||
|
||||
public override bool EnablePrevious()
|
||||
{
|
||||
if (SrWizardType.DisasterRecoveryTask && SrWizardType.SrToReattach == null)
|
||||
return false;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
public override void PopulatePage()
|
||||
{
|
||||
if (!SrWizardType.AllowToCreateNewSr)
|
||||
HideCreateControls();
|
||||
|
||||
if (SrWizardType.UUID != null)
|
||||
listBoxCifsSRs.SetMustSelectUUID(SrWizardType.UUID);
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private void UpdateButtons()
|
||||
{
|
||||
CifsScanButton.Enabled = SrWizardHelpers.ValidateCifsSharename(CifsServerPathTextBox.Text);
|
||||
OnPageUpdated();
|
||||
}
|
||||
|
||||
private void AnyCifsParameters_TextChanged(object sender, EventArgs e)
|
||||
{
|
||||
CifsScanButton.Enabled = SrWizardHelpers.ValidateCifsSharename(CifsServerPathTextBox.Text);
|
||||
|
||||
listBoxCifsSRs.Items.Clear();
|
||||
ToggleReattachControlsEnabledState(false);
|
||||
|
||||
if(radioButtonCifsNew.Enabled)
|
||||
radioButtonCifsNew.Checked = true;
|
||||
|
||||
UpdateButtons();
|
||||
}
|
||||
|
||||
private void radioButtonCifsReattach_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
radioButtonCifsNew.Checked = !radioButtonCifsReattach.Checked;
|
||||
UpdateButtons();
|
||||
}
|
||||
|
||||
private void radioButtonCifsNew_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (radioButtonCifsNew.Checked)
|
||||
listBoxCifsSRs.SelectedIndex = -1;
|
||||
|
||||
radioButtonCifsReattach.Checked = !radioButtonCifsNew.Checked;
|
||||
UpdateButtons();
|
||||
}
|
||||
|
||||
private void buttonCifsScan_Click(object sender, EventArgs e)
|
||||
{
|
||||
try
|
||||
{
|
||||
CifsScanButton.Enabled = false;
|
||||
|
||||
// Perform an SR.probe to see if there is already an SR present
|
||||
Dictionary<String, String> dconf = new Dictionary<String, String>();
|
||||
string[] fullpath = CifsServerPathTextBox.Text.Split(new char[] { ':' });
|
||||
dconf[SERVER] = fullpath[0];
|
||||
if (fullpath.Length > 1)
|
||||
{
|
||||
dconf[SERVERPATH] = fullpath[1];
|
||||
}
|
||||
|
||||
if (userNameTextBox.Text.Trim().Length > 0 || passwordTextBox.Text.Trim().Length > 0)
|
||||
{
|
||||
dconf["username"] = userNameTextBox.Text;
|
||||
dconf["password"] = passwordTextBox.Text;
|
||||
}
|
||||
|
||||
Host master = Helpers.GetMaster(Connection);
|
||||
if (master == null)
|
||||
return;
|
||||
|
||||
// Start probe
|
||||
SrProbeAction action = new SrProbeAction(Connection, master, SR.SRTypes.cifs, dconf);
|
||||
ActionProgressDialog dialog = new ActionProgressDialog(action, ProgressBarStyle.Marquee);
|
||||
dialog.ShowCancel = true;
|
||||
dialog.ShowDialog(this);
|
||||
|
||||
if (radioButtonCifsNew.Enabled)
|
||||
radioButtonCifsNew.Checked = true;
|
||||
|
||||
listBoxCifsSRs.Items.Clear();
|
||||
|
||||
if (!action.Succeeded)
|
||||
return;
|
||||
|
||||
List<SR.SRInfo> SRs = SR.ParseSRListXML(action.Result);
|
||||
if (SRs.Count == 0)
|
||||
{
|
||||
// Disable box
|
||||
ToggleReattachControlsEnabledState(false);
|
||||
listBoxCifsSRs.Items.Add(Messages.NEWSR_NO_SRS_FOUND);
|
||||
return;
|
||||
}
|
||||
|
||||
// Fill box
|
||||
foreach(SR.SRInfo info in SRs)
|
||||
listBoxCifsSRs.Items.Add(info);
|
||||
|
||||
listBoxCifsSRs.TryAndSelectUUID();
|
||||
|
||||
ToggleReattachControlsEnabledState(true);
|
||||
}
|
||||
finally
|
||||
{
|
||||
UpdateButtons();
|
||||
}
|
||||
}
|
||||
|
||||
private void listBoxCifsSRs_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (listBoxCifsSRs.SelectedIndex == -1)
|
||||
return;
|
||||
|
||||
radioButtonCifsReattach.Checked = true;
|
||||
UpdateButtons();
|
||||
}
|
||||
|
||||
#region Accessors
|
||||
|
||||
public SrWizardType SrWizardType { private get; set; }
|
||||
|
||||
public string UUID
|
||||
{
|
||||
get
|
||||
{
|
||||
if (radioButtonCifsNew.Checked)
|
||||
return null;
|
||||
|
||||
SR.SRInfo srInfo = listBoxCifsSRs.SelectedItem as SR.SRInfo;
|
||||
if (srInfo == null)
|
||||
return null;
|
||||
|
||||
return srInfo.UUID;
|
||||
}
|
||||
}
|
||||
|
||||
public Dictionary<string, string> DeviceConfig
|
||||
{
|
||||
get
|
||||
{
|
||||
var dconf = new Dictionary<string, string>();
|
||||
|
||||
string[] fullpath = CifsServerPathTextBox.Text.Split(new char[] { ':' });
|
||||
|
||||
dconf[SERVER] = fullpath[0];
|
||||
|
||||
if (fullpath.Length > 1)
|
||||
{
|
||||
dconf[SERVERPATH] = fullpath[1];
|
||||
}
|
||||
|
||||
if (userNameTextBox.Text.Trim().Length > 0 || passwordTextBox.Text.Trim().Length > 0)
|
||||
{
|
||||
dconf["username"] = userNameTextBox.Text;
|
||||
dconf["password"] = passwordTextBox.Text;
|
||||
}
|
||||
|
||||
return dconf;
|
||||
}
|
||||
}
|
||||
|
||||
public string SrDescription
|
||||
{
|
||||
get
|
||||
{
|
||||
return string.IsNullOrEmpty(CifsServerPathTextBox.Text)
|
||||
? null
|
||||
: string.Format(Messages.NEWSR_ACTION, CifsServerPathTextBox.Text);
|
||||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private void HideCreateControls()
|
||||
{
|
||||
radioButtonCifsNew.Checked = false;
|
||||
radioButtonCifsReattach.Checked = true;
|
||||
|
||||
radioButtonCifsNew.Enabled = false;
|
||||
radioButtonCifsReattach.Enabled = true;
|
||||
}
|
||||
|
||||
private void ToggleReattachControlsEnabledState(bool enable)
|
||||
{
|
||||
radioButtonCifsReattach.Enabled = enable;
|
||||
listBoxCifsSRs.Enabled = enable;
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,546 @@
|
||||
<?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="CifsScanButton.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
|
||||
<value>Left</value>
|
||||
</data>
|
||||
<assembly alias="mscorlib" name="mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
<data name="CifsScanButton.Enabled" type="System.Boolean, mscorlib">
|
||||
<value>False</value>
|
||||
</data>
|
||||
<data name="CifsScanButton.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
|
||||
<value>NoControl</value>
|
||||
</data>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<data name="CifsScanButton.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>427, 49</value>
|
||||
</data>
|
||||
<data name="CifsScanButton.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>70, 23</value>
|
||||
</data>
|
||||
<data name="CifsScanButton.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>3</value>
|
||||
</data>
|
||||
<data name="CifsScanButton.Text" xml:space="preserve">
|
||||
<value>&Scan</value>
|
||||
</data>
|
||||
<data name=">>CifsScanButton.Name" xml:space="preserve">
|
||||
<value>CifsScanButton</value>
|
||||
</data>
|
||||
<data name=">>CifsScanButton.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=">>CifsScanButton.Parent" xml:space="preserve">
|
||||
<value>tableLayoutPanel1</value>
|
||||
</data>
|
||||
<data name=">>CifsScanButton.ZOrder" xml:space="preserve">
|
||||
<value>5</value>
|
||||
</data>
|
||||
<data name="tableLayoutPanel1.ColumnCount" type="System.Int32, mscorlib">
|
||||
<value>3</value>
|
||||
</data>
|
||||
<data name="passwordTextBox.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
|
||||
<value>Left, Right</value>
|
||||
</data>
|
||||
<data name="passwordTextBox.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>78, 132</value>
|
||||
</data>
|
||||
<data name="passwordTextBox.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>343, 20</value>
|
||||
</data>
|
||||
<data name="passwordTextBox.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>11</value>
|
||||
</data>
|
||||
<data name=">>passwordTextBox.Name" xml:space="preserve">
|
||||
<value>passwordTextBox</value>
|
||||
</data>
|
||||
<data name=">>passwordTextBox.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>passwordTextBox.Parent" xml:space="preserve">
|
||||
<value>tableLayoutPanel1</value>
|
||||
</data>
|
||||
<data name=">>passwordTextBox.ZOrder" xml:space="preserve">
|
||||
<value>0</value>
|
||||
</data>
|
||||
<data name="label4.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
|
||||
<value>Left</value>
|
||||
</data>
|
||||
<data name="label4.AutoSize" type="System.Boolean, mscorlib">
|
||||
<value>True</value>
|
||||
</data>
|
||||
<data name="label4.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
|
||||
<value>NoControl</value>
|
||||
</data>
|
||||
<data name="label4.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>3, 135</value>
|
||||
</data>
|
||||
<data name="label4.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>56, 13</value>
|
||||
</data>
|
||||
<data name="label4.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>10</value>
|
||||
</data>
|
||||
<data name="label4.Text" xml:space="preserve">
|
||||
<value>Password:</value>
|
||||
</data>
|
||||
<data name="label4.TextAlign" type="System.Drawing.ContentAlignment, System.Drawing">
|
||||
<value>MiddleLeft</value>
|
||||
</data>
|
||||
<data name=">>label4.Name" xml:space="preserve">
|
||||
<value>label4</value>
|
||||
</data>
|
||||
<data name=">>label4.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=">>label4.Parent" xml:space="preserve">
|
||||
<value>tableLayoutPanel1</value>
|
||||
</data>
|
||||
<data name=">>label4.ZOrder" xml:space="preserve">
|
||||
<value>1</value>
|
||||
</data>
|
||||
<data name="label1.AutoSize" type="System.Boolean, mscorlib">
|
||||
<value>True</value>
|
||||
</data>
|
||||
<data name="label1.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
|
||||
<value>Fill</value>
|
||||
</data>
|
||||
<data name="label1.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>3, 0</value>
|
||||
</data>
|
||||
<data name="label1.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
|
||||
<value>3, 0, 3, 20</value>
|
||||
</data>
|
||||
<data name="label1.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>494, 26</value>
|
||||
</data>
|
||||
<data name="label1.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>0</value>
|
||||
</data>
|
||||
<data name="label1.Text" xml:space="preserve">
|
||||
<value>Provide the name of the share where your SR is located, optionally specifying advanced options. Indicate whether you wish to create a new SR or reattach an existing SR before proceeding.</value>
|
||||
</data>
|
||||
<data name=">>label1.Name" xml:space="preserve">
|
||||
<value>label1</value>
|
||||
</data>
|
||||
<data name=">>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=">>label1.Parent" xml:space="preserve">
|
||||
<value>tableLayoutPanel1</value>
|
||||
</data>
|
||||
<data name=">>label1.ZOrder" xml:space="preserve">
|
||||
<value>2</value>
|
||||
</data>
|
||||
<data name="label3.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
|
||||
<value>Left</value>
|
||||
</data>
|
||||
<data name="label3.AutoSize" type="System.Boolean, mscorlib">
|
||||
<value>True</value>
|
||||
</data>
|
||||
<data name="label3.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
|
||||
<value>NoControl</value>
|
||||
</data>
|
||||
<data name="label3.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>3, 54</value>
|
||||
</data>
|
||||
<data name="label3.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>69, 13</value>
|
||||
</data>
|
||||
<data name="label3.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>1</value>
|
||||
</data>
|
||||
<data name="label3.Text" xml:space="preserve">
|
||||
<value>S&hare Name:</value>
|
||||
</data>
|
||||
<data name="label3.TextAlign" type="System.Drawing.ContentAlignment, System.Drawing">
|
||||
<value>MiddleLeft</value>
|
||||
</data>
|
||||
<data name=">>label3.Name" xml:space="preserve">
|
||||
<value>label3</value>
|
||||
</data>
|
||||
<data name=">>label3.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=">>label3.Parent" xml:space="preserve">
|
||||
<value>tableLayoutPanel1</value>
|
||||
</data>
|
||||
<data name=">>label3.ZOrder" xml:space="preserve">
|
||||
<value>3</value>
|
||||
</data>
|
||||
<data name="CifsServerPathTextBox.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
|
||||
<value>Left, Right</value>
|
||||
</data>
|
||||
<data name="CifsServerPathTextBox.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>78, 50</value>
|
||||
</data>
|
||||
<data name="CifsServerPathTextBox.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>343, 20</value>
|
||||
</data>
|
||||
<data name="CifsServerPathTextBox.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>2</value>
|
||||
</data>
|
||||
<data name=">>CifsServerPathTextBox.Name" xml:space="preserve">
|
||||
<value>CifsServerPathTextBox</value>
|
||||
</data>
|
||||
<data name=">>CifsServerPathTextBox.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>CifsServerPathTextBox.Parent" xml:space="preserve">
|
||||
<value>tableLayoutPanel1</value>
|
||||
</data>
|
||||
<data name=">>CifsServerPathTextBox.ZOrder" xml:space="preserve">
|
||||
<value>4</value>
|
||||
</data>
|
||||
<data name="labelAdvancedOptions.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
|
||||
<value>Left</value>
|
||||
</data>
|
||||
<data name="labelAdvancedOptions.AutoSize" type="System.Boolean, mscorlib">
|
||||
<value>True</value>
|
||||
</data>
|
||||
<data name="labelAdvancedOptions.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
|
||||
<value>NoControl</value>
|
||||
</data>
|
||||
<data name="labelAdvancedOptions.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>3, 109</value>
|
||||
</data>
|
||||
<data name="labelAdvancedOptions.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>61, 13</value>
|
||||
</data>
|
||||
<data name="labelAdvancedOptions.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>5</value>
|
||||
</data>
|
||||
<data name="labelAdvancedOptions.Text" xml:space="preserve">
|
||||
<value>&User name:</value>
|
||||
</data>
|
||||
<data name="labelAdvancedOptions.TextAlign" type="System.Drawing.ContentAlignment, System.Drawing">
|
||||
<value>MiddleLeft</value>
|
||||
</data>
|
||||
<data name=">>labelAdvancedOptions.Name" xml:space="preserve">
|
||||
<value>labelAdvancedOptions</value>
|
||||
</data>
|
||||
<data name=">>labelAdvancedOptions.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=">>labelAdvancedOptions.Parent" xml:space="preserve">
|
||||
<value>tableLayoutPanel1</value>
|
||||
</data>
|
||||
<data name=">>labelAdvancedOptions.ZOrder" xml:space="preserve">
|
||||
<value>6</value>
|
||||
</data>
|
||||
<data name="userNameTextBox.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
|
||||
<value>Left, Right</value>
|
||||
</data>
|
||||
<data name="userNameTextBox.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>78, 106</value>
|
||||
</data>
|
||||
<data name="userNameTextBox.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>343, 20</value>
|
||||
</data>
|
||||
<data name="userNameTextBox.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>6</value>
|
||||
</data>
|
||||
<data name=">>userNameTextBox.Name" xml:space="preserve">
|
||||
<value>userNameTextBox</value>
|
||||
</data>
|
||||
<data name=">>userNameTextBox.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>userNameTextBox.Parent" xml:space="preserve">
|
||||
<value>tableLayoutPanel1</value>
|
||||
</data>
|
||||
<data name=">>userNameTextBox.ZOrder" xml:space="preserve">
|
||||
<value>7</value>
|
||||
</data>
|
||||
<data name="radioButtonCifsNew.AutoSize" type="System.Boolean, mscorlib">
|
||||
<value>True</value>
|
||||
</data>
|
||||
<data name="radioButtonCifsNew.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
|
||||
<value>NoControl</value>
|
||||
</data>
|
||||
<data name="radioButtonCifsNew.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>3, 180</value>
|
||||
</data>
|
||||
<data name="radioButtonCifsNew.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
|
||||
<value>3, 25, 3, 3</value>
|
||||
</data>
|
||||
<data name="radioButtonCifsNew.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>106, 17</value>
|
||||
</data>
|
||||
<data name="radioButtonCifsNew.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>7</value>
|
||||
</data>
|
||||
<data name="radioButtonCifsNew.Text" xml:space="preserve">
|
||||
<value>&Create a new SR</value>
|
||||
</data>
|
||||
<data name=">>radioButtonCifsNew.Name" xml:space="preserve">
|
||||
<value>radioButtonCifsNew</value>
|
||||
</data>
|
||||
<data name=">>radioButtonCifsNew.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.RadioButton, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>radioButtonCifsNew.Parent" xml:space="preserve">
|
||||
<value>tableLayoutPanel1</value>
|
||||
</data>
|
||||
<data name=">>radioButtonCifsNew.ZOrder" xml:space="preserve">
|
||||
<value>8</value>
|
||||
</data>
|
||||
<data name="radioButtonCifsReattach.AutoSize" type="System.Boolean, mscorlib">
|
||||
<value>True</value>
|
||||
</data>
|
||||
<data name="radioButtonCifsReattach.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
|
||||
<value>NoControl</value>
|
||||
</data>
|
||||
<data name="radioButtonCifsReattach.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>3, 203</value>
|
||||
</data>
|
||||
<data name="radioButtonCifsReattach.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>143, 17</value>
|
||||
</data>
|
||||
<data name="radioButtonCifsReattach.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>8</value>
|
||||
</data>
|
||||
<data name="radioButtonCifsReattach.Text" xml:space="preserve">
|
||||
<value>&Reattach an existing SR:</value>
|
||||
</data>
|
||||
<data name=">>radioButtonCifsReattach.Name" xml:space="preserve">
|
||||
<value>radioButtonCifsReattach</value>
|
||||
</data>
|
||||
<data name=">>radioButtonCifsReattach.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.RadioButton, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>radioButtonCifsReattach.Parent" xml:space="preserve">
|
||||
<value>tableLayoutPanel1</value>
|
||||
</data>
|
||||
<data name=">>radioButtonCifsReattach.ZOrder" xml:space="preserve">
|
||||
<value>9</value>
|
||||
</data>
|
||||
<data name="label2.AutoSize" type="System.Boolean, mscorlib">
|
||||
<value>True</value>
|
||||
</data>
|
||||
<data name="label2.Font" type="System.Drawing.Font, System.Drawing">
|
||||
<value>Microsoft Sans Serif, 8.25pt</value>
|
||||
</data>
|
||||
<data name="label2.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
|
||||
<value>NoControl</value>
|
||||
</data>
|
||||
<data name="label2.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>78, 75</value>
|
||||
</data>
|
||||
<data name="label2.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
|
||||
<value>3, 0, 3, 15</value>
|
||||
</data>
|
||||
<data name="label2.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>111, 13</value>
|
||||
</data>
|
||||
<data name="label2.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>4</value>
|
||||
</data>
|
||||
<data name="label2.Text" xml:space="preserve">
|
||||
<value>Example: \\server\path</value>
|
||||
</data>
|
||||
<data name=">>label2.Name" xml:space="preserve">
|
||||
<value>label2</value>
|
||||
</data>
|
||||
<data name=">>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=">>label2.Parent" xml:space="preserve">
|
||||
<value>tableLayoutPanel1</value>
|
||||
</data>
|
||||
<data name=">>label2.ZOrder" xml:space="preserve">
|
||||
<value>11</value>
|
||||
</data>
|
||||
<data name="tableLayoutPanel1.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
|
||||
<value>Fill</value>
|
||||
</data>
|
||||
<data name="tableLayoutPanel1.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>0, 0</value>
|
||||
</data>
|
||||
<data name="tableLayoutPanel1.RowCount" type="System.Int32, mscorlib">
|
||||
<value>9</value>
|
||||
</data>
|
||||
<data name="tableLayoutPanel1.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>500, 461</value>
|
||||
</data>
|
||||
<data name="tableLayoutPanel1.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>0</value>
|
||||
</data>
|
||||
<data name=">>tableLayoutPanel1.Name" xml:space="preserve">
|
||||
<value>tableLayoutPanel1</value>
|
||||
</data>
|
||||
<data name=">>tableLayoutPanel1.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.TableLayoutPanel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>tableLayoutPanel1.Parent" xml:space="preserve">
|
||||
<value>$this</value>
|
||||
</data>
|
||||
<data name=">>tableLayoutPanel1.ZOrder" xml:space="preserve">
|
||||
<value>0</value>
|
||||
</data>
|
||||
<data name="tableLayoutPanel1.LayoutSettings" type="System.Windows.Forms.TableLayoutSettings, System.Windows.Forms">
|
||||
<value><?xml version="1.0" encoding="utf-16"?><TableLayoutSettings><Controls><Control Name="passwordTextBox" Row="4" RowSpan="1" Column="1" ColumnSpan="1" /><Control Name="label4" Row="4" RowSpan="1" Column="0" ColumnSpan="1" /><Control Name="label1" Row="0" RowSpan="1" Column="0" ColumnSpan="3" /><Control Name="label3" Row="1" RowSpan="1" Column="0" ColumnSpan="1" /><Control Name="CifsServerPathTextBox" Row="1" RowSpan="1" Column="1" ColumnSpan="1" /><Control Name="CifsScanButton" Row="1" RowSpan="1" Column="2" ColumnSpan="1" /><Control Name="labelAdvancedOptions" Row="3" RowSpan="1" Column="0" ColumnSpan="1" /><Control Name="userNameTextBox" Row="3" RowSpan="1" Column="1" ColumnSpan="1" /><Control Name="radioButtonCifsNew" Row="6" RowSpan="1" Column="0" ColumnSpan="3" /><Control Name="radioButtonCifsReattach" Row="7" RowSpan="1" Column="0" ColumnSpan="3" /><Control Name="listBoxCifsSRs" Row="8" RowSpan="1" Column="0" ColumnSpan="3" /><Control Name="label2" Row="2" RowSpan="1" Column="1" ColumnSpan="1" /></Controls><Columns Styles="AutoSize,0,Percent,100,AutoSize,0" /><Rows Styles="AutoSize,0,AutoSize,0,AutoSize,0,AutoSize,0,AutoSize,0,AutoSize,0,AutoSize,0,AutoSize,0,Percent,100,Absolute,20" /></TableLayoutSettings></value>
|
||||
</data>
|
||||
<data name="listBoxCifsSRs.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
|
||||
<value>Fill</value>
|
||||
</data>
|
||||
<data name="listBoxCifsSRs.IntegralHeight" type="System.Boolean, mscorlib">
|
||||
<value>False</value>
|
||||
</data>
|
||||
<data name="listBoxCifsSRs.ItemHeight" type="System.Int32, mscorlib">
|
||||
<value>14</value>
|
||||
</data>
|
||||
<data name="listBoxCifsSRs.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>3, 226</value>
|
||||
</data>
|
||||
<data name="listBoxCifsSRs.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>494, 232</value>
|
||||
</data>
|
||||
<data name="listBoxCifsSRs.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>9</value>
|
||||
</data>
|
||||
<data name=">>listBoxCifsSRs.Name" xml:space="preserve">
|
||||
<value>listBoxCifsSRs</value>
|
||||
</data>
|
||||
<data name=">>listBoxCifsSRs.Type" xml:space="preserve">
|
||||
<value>XenAdmin.Controls.SRListBox, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</value>
|
||||
</data>
|
||||
<data name=">>listBoxCifsSRs.Parent" xml:space="preserve">
|
||||
<value>tableLayoutPanel1</value>
|
||||
</data>
|
||||
<data name=">>listBoxCifsSRs.ZOrder" xml:space="preserve">
|
||||
<value>10</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.AutoScaleDimensions" type="System.Drawing.SizeF, System.Drawing">
|
||||
<value>96, 96</value>
|
||||
</data>
|
||||
<data name="$this.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>500, 461</value>
|
||||
</data>
|
||||
<data name=">>$this.Name" xml:space="preserve">
|
||||
<value>CifsFrontend</value>
|
||||
</data>
|
||||
<data name=">>$this.Type" xml:space="preserve">
|
||||
<value>XenAdmin.Controls.XenTabPage, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</value>
|
||||
</data>
|
||||
</root>
|
546
XenAdmin/Wizards/NewSRWizard_Pages/Frontends/CIFSFrontend.resx
Normal file
546
XenAdmin/Wizards/NewSRWizard_Pages/Frontends/CIFSFrontend.resx
Normal file
@ -0,0 +1,546 @@
|
||||
<?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="CifsScanButton.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
|
||||
<value>Left</value>
|
||||
</data>
|
||||
<assembly alias="mscorlib" name="mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
<data name="CifsScanButton.Enabled" type="System.Boolean, mscorlib">
|
||||
<value>False</value>
|
||||
</data>
|
||||
<data name="CifsScanButton.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
|
||||
<value>NoControl</value>
|
||||
</data>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<data name="CifsScanButton.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>427, 49</value>
|
||||
</data>
|
||||
<data name="CifsScanButton.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>70, 23</value>
|
||||
</data>
|
||||
<data name="CifsScanButton.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>3</value>
|
||||
</data>
|
||||
<data name="CifsScanButton.Text" xml:space="preserve">
|
||||
<value>&Scan</value>
|
||||
</data>
|
||||
<data name=">>CifsScanButton.Name" xml:space="preserve">
|
||||
<value>CifsScanButton</value>
|
||||
</data>
|
||||
<data name=">>CifsScanButton.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=">>CifsScanButton.Parent" xml:space="preserve">
|
||||
<value>tableLayoutPanel1</value>
|
||||
</data>
|
||||
<data name=">>CifsScanButton.ZOrder" xml:space="preserve">
|
||||
<value>5</value>
|
||||
</data>
|
||||
<data name="tableLayoutPanel1.ColumnCount" type="System.Int32, mscorlib">
|
||||
<value>3</value>
|
||||
</data>
|
||||
<data name="passwordTextBox.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
|
||||
<value>Left, Right</value>
|
||||
</data>
|
||||
<data name="passwordTextBox.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>78, 132</value>
|
||||
</data>
|
||||
<data name="passwordTextBox.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>343, 20</value>
|
||||
</data>
|
||||
<data name="passwordTextBox.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>11</value>
|
||||
</data>
|
||||
<data name=">>passwordTextBox.Name" xml:space="preserve">
|
||||
<value>passwordTextBox</value>
|
||||
</data>
|
||||
<data name=">>passwordTextBox.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>passwordTextBox.Parent" xml:space="preserve">
|
||||
<value>tableLayoutPanel1</value>
|
||||
</data>
|
||||
<data name=">>passwordTextBox.ZOrder" xml:space="preserve">
|
||||
<value>0</value>
|
||||
</data>
|
||||
<data name="label4.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
|
||||
<value>Left</value>
|
||||
</data>
|
||||
<data name="label4.AutoSize" type="System.Boolean, mscorlib">
|
||||
<value>True</value>
|
||||
</data>
|
||||
<data name="label4.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
|
||||
<value>NoControl</value>
|
||||
</data>
|
||||
<data name="label4.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>3, 135</value>
|
||||
</data>
|
||||
<data name="label4.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>56, 13</value>
|
||||
</data>
|
||||
<data name="label4.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>10</value>
|
||||
</data>
|
||||
<data name="label4.Text" xml:space="preserve">
|
||||
<value>Password:</value>
|
||||
</data>
|
||||
<data name="label4.TextAlign" type="System.Drawing.ContentAlignment, System.Drawing">
|
||||
<value>MiddleLeft</value>
|
||||
</data>
|
||||
<data name=">>label4.Name" xml:space="preserve">
|
||||
<value>label4</value>
|
||||
</data>
|
||||
<data name=">>label4.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=">>label4.Parent" xml:space="preserve">
|
||||
<value>tableLayoutPanel1</value>
|
||||
</data>
|
||||
<data name=">>label4.ZOrder" xml:space="preserve">
|
||||
<value>1</value>
|
||||
</data>
|
||||
<data name="label1.AutoSize" type="System.Boolean, mscorlib">
|
||||
<value>True</value>
|
||||
</data>
|
||||
<data name="label1.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
|
||||
<value>Fill</value>
|
||||
</data>
|
||||
<data name="label1.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>3, 0</value>
|
||||
</data>
|
||||
<data name="label1.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
|
||||
<value>3, 0, 3, 20</value>
|
||||
</data>
|
||||
<data name="label1.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>494, 26</value>
|
||||
</data>
|
||||
<data name="label1.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>0</value>
|
||||
</data>
|
||||
<data name="label1.Text" xml:space="preserve">
|
||||
<value>Provide the name of the share where your SR is located, optionally specifying advanced options. Indicate whether you wish to create a new SR or reattach an existing SR before proceeding.</value>
|
||||
</data>
|
||||
<data name=">>label1.Name" xml:space="preserve">
|
||||
<value>label1</value>
|
||||
</data>
|
||||
<data name=">>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=">>label1.Parent" xml:space="preserve">
|
||||
<value>tableLayoutPanel1</value>
|
||||
</data>
|
||||
<data name=">>label1.ZOrder" xml:space="preserve">
|
||||
<value>2</value>
|
||||
</data>
|
||||
<data name="label3.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
|
||||
<value>Left</value>
|
||||
</data>
|
||||
<data name="label3.AutoSize" type="System.Boolean, mscorlib">
|
||||
<value>True</value>
|
||||
</data>
|
||||
<data name="label3.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
|
||||
<value>NoControl</value>
|
||||
</data>
|
||||
<data name="label3.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>3, 54</value>
|
||||
</data>
|
||||
<data name="label3.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>69, 13</value>
|
||||
</data>
|
||||
<data name="label3.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>1</value>
|
||||
</data>
|
||||
<data name="label3.Text" xml:space="preserve">
|
||||
<value>S&hare Name:</value>
|
||||
</data>
|
||||
<data name="label3.TextAlign" type="System.Drawing.ContentAlignment, System.Drawing">
|
||||
<value>MiddleLeft</value>
|
||||
</data>
|
||||
<data name=">>label3.Name" xml:space="preserve">
|
||||
<value>label3</value>
|
||||
</data>
|
||||
<data name=">>label3.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=">>label3.Parent" xml:space="preserve">
|
||||
<value>tableLayoutPanel1</value>
|
||||
</data>
|
||||
<data name=">>label3.ZOrder" xml:space="preserve">
|
||||
<value>3</value>
|
||||
</data>
|
||||
<data name="CifsServerPathTextBox.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
|
||||
<value>Left, Right</value>
|
||||
</data>
|
||||
<data name="CifsServerPathTextBox.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>78, 50</value>
|
||||
</data>
|
||||
<data name="CifsServerPathTextBox.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>343, 20</value>
|
||||
</data>
|
||||
<data name="CifsServerPathTextBox.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>2</value>
|
||||
</data>
|
||||
<data name=">>CifsServerPathTextBox.Name" xml:space="preserve">
|
||||
<value>CifsServerPathTextBox</value>
|
||||
</data>
|
||||
<data name=">>CifsServerPathTextBox.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>CifsServerPathTextBox.Parent" xml:space="preserve">
|
||||
<value>tableLayoutPanel1</value>
|
||||
</data>
|
||||
<data name=">>CifsServerPathTextBox.ZOrder" xml:space="preserve">
|
||||
<value>4</value>
|
||||
</data>
|
||||
<data name="labelAdvancedOptions.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
|
||||
<value>Left</value>
|
||||
</data>
|
||||
<data name="labelAdvancedOptions.AutoSize" type="System.Boolean, mscorlib">
|
||||
<value>True</value>
|
||||
</data>
|
||||
<data name="labelAdvancedOptions.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
|
||||
<value>NoControl</value>
|
||||
</data>
|
||||
<data name="labelAdvancedOptions.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>3, 109</value>
|
||||
</data>
|
||||
<data name="labelAdvancedOptions.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>61, 13</value>
|
||||
</data>
|
||||
<data name="labelAdvancedOptions.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>5</value>
|
||||
</data>
|
||||
<data name="labelAdvancedOptions.Text" xml:space="preserve">
|
||||
<value>&User name:</value>
|
||||
</data>
|
||||
<data name="labelAdvancedOptions.TextAlign" type="System.Drawing.ContentAlignment, System.Drawing">
|
||||
<value>MiddleLeft</value>
|
||||
</data>
|
||||
<data name=">>labelAdvancedOptions.Name" xml:space="preserve">
|
||||
<value>labelAdvancedOptions</value>
|
||||
</data>
|
||||
<data name=">>labelAdvancedOptions.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=">>labelAdvancedOptions.Parent" xml:space="preserve">
|
||||
<value>tableLayoutPanel1</value>
|
||||
</data>
|
||||
<data name=">>labelAdvancedOptions.ZOrder" xml:space="preserve">
|
||||
<value>6</value>
|
||||
</data>
|
||||
<data name="userNameTextBox.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
|
||||
<value>Left, Right</value>
|
||||
</data>
|
||||
<data name="userNameTextBox.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>78, 106</value>
|
||||
</data>
|
||||
<data name="userNameTextBox.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>343, 20</value>
|
||||
</data>
|
||||
<data name="userNameTextBox.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>6</value>
|
||||
</data>
|
||||
<data name=">>userNameTextBox.Name" xml:space="preserve">
|
||||
<value>userNameTextBox</value>
|
||||
</data>
|
||||
<data name=">>userNameTextBox.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>userNameTextBox.Parent" xml:space="preserve">
|
||||
<value>tableLayoutPanel1</value>
|
||||
</data>
|
||||
<data name=">>userNameTextBox.ZOrder" xml:space="preserve">
|
||||
<value>7</value>
|
||||
</data>
|
||||
<data name="radioButtonCifsNew.AutoSize" type="System.Boolean, mscorlib">
|
||||
<value>True</value>
|
||||
</data>
|
||||
<data name="radioButtonCifsNew.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
|
||||
<value>NoControl</value>
|
||||
</data>
|
||||
<data name="radioButtonCifsNew.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>3, 180</value>
|
||||
</data>
|
||||
<data name="radioButtonCifsNew.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
|
||||
<value>3, 25, 3, 3</value>
|
||||
</data>
|
||||
<data name="radioButtonCifsNew.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>106, 17</value>
|
||||
</data>
|
||||
<data name="radioButtonCifsNew.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>7</value>
|
||||
</data>
|
||||
<data name="radioButtonCifsNew.Text" xml:space="preserve">
|
||||
<value>&Create a new SR</value>
|
||||
</data>
|
||||
<data name=">>radioButtonCifsNew.Name" xml:space="preserve">
|
||||
<value>radioButtonCifsNew</value>
|
||||
</data>
|
||||
<data name=">>radioButtonCifsNew.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.RadioButton, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>radioButtonCifsNew.Parent" xml:space="preserve">
|
||||
<value>tableLayoutPanel1</value>
|
||||
</data>
|
||||
<data name=">>radioButtonCifsNew.ZOrder" xml:space="preserve">
|
||||
<value>8</value>
|
||||
</data>
|
||||
<data name="radioButtonCifsReattach.AutoSize" type="System.Boolean, mscorlib">
|
||||
<value>True</value>
|
||||
</data>
|
||||
<data name="radioButtonCifsReattach.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
|
||||
<value>NoControl</value>
|
||||
</data>
|
||||
<data name="radioButtonCifsReattach.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>3, 203</value>
|
||||
</data>
|
||||
<data name="radioButtonCifsReattach.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>143, 17</value>
|
||||
</data>
|
||||
<data name="radioButtonCifsReattach.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>8</value>
|
||||
</data>
|
||||
<data name="radioButtonCifsReattach.Text" xml:space="preserve">
|
||||
<value>&Reattach an existing SR:</value>
|
||||
</data>
|
||||
<data name=">>radioButtonCifsReattach.Name" xml:space="preserve">
|
||||
<value>radioButtonCifsReattach</value>
|
||||
</data>
|
||||
<data name=">>radioButtonCifsReattach.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.RadioButton, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>radioButtonCifsReattach.Parent" xml:space="preserve">
|
||||
<value>tableLayoutPanel1</value>
|
||||
</data>
|
||||
<data name=">>radioButtonCifsReattach.ZOrder" xml:space="preserve">
|
||||
<value>9</value>
|
||||
</data>
|
||||
<data name="label2.AutoSize" type="System.Boolean, mscorlib">
|
||||
<value>True</value>
|
||||
</data>
|
||||
<data name="label2.Font" type="System.Drawing.Font, System.Drawing">
|
||||
<value>Microsoft Sans Serif, 8.25pt</value>
|
||||
</data>
|
||||
<data name="label2.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
|
||||
<value>NoControl</value>
|
||||
</data>
|
||||
<data name="label2.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>78, 75</value>
|
||||
</data>
|
||||
<data name="label2.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
|
||||
<value>3, 0, 3, 15</value>
|
||||
</data>
|
||||
<data name="label2.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>111, 13</value>
|
||||
</data>
|
||||
<data name="label2.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>4</value>
|
||||
</data>
|
||||
<data name="label2.Text" xml:space="preserve">
|
||||
<value>Example: \\server\path</value>
|
||||
</data>
|
||||
<data name=">>label2.Name" xml:space="preserve">
|
||||
<value>label2</value>
|
||||
</data>
|
||||
<data name=">>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=">>label2.Parent" xml:space="preserve">
|
||||
<value>tableLayoutPanel1</value>
|
||||
</data>
|
||||
<data name=">>label2.ZOrder" xml:space="preserve">
|
||||
<value>11</value>
|
||||
</data>
|
||||
<data name="tableLayoutPanel1.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
|
||||
<value>Fill</value>
|
||||
</data>
|
||||
<data name="tableLayoutPanel1.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>0, 0</value>
|
||||
</data>
|
||||
<data name="tableLayoutPanel1.RowCount" type="System.Int32, mscorlib">
|
||||
<value>9</value>
|
||||
</data>
|
||||
<data name="tableLayoutPanel1.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>500, 461</value>
|
||||
</data>
|
||||
<data name="tableLayoutPanel1.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>0</value>
|
||||
</data>
|
||||
<data name=">>tableLayoutPanel1.Name" xml:space="preserve">
|
||||
<value>tableLayoutPanel1</value>
|
||||
</data>
|
||||
<data name=">>tableLayoutPanel1.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.TableLayoutPanel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>tableLayoutPanel1.Parent" xml:space="preserve">
|
||||
<value>$this</value>
|
||||
</data>
|
||||
<data name=">>tableLayoutPanel1.ZOrder" xml:space="preserve">
|
||||
<value>0</value>
|
||||
</data>
|
||||
<data name="tableLayoutPanel1.LayoutSettings" type="System.Windows.Forms.TableLayoutSettings, System.Windows.Forms">
|
||||
<value><?xml version="1.0" encoding="utf-16"?><TableLayoutSettings><Controls><Control Name="passwordTextBox" Row="4" RowSpan="1" Column="1" ColumnSpan="1" /><Control Name="label4" Row="4" RowSpan="1" Column="0" ColumnSpan="1" /><Control Name="label1" Row="0" RowSpan="1" Column="0" ColumnSpan="3" /><Control Name="label3" Row="1" RowSpan="1" Column="0" ColumnSpan="1" /><Control Name="CifsServerPathTextBox" Row="1" RowSpan="1" Column="1" ColumnSpan="1" /><Control Name="CifsScanButton" Row="1" RowSpan="1" Column="2" ColumnSpan="1" /><Control Name="labelAdvancedOptions" Row="3" RowSpan="1" Column="0" ColumnSpan="1" /><Control Name="userNameTextBox" Row="3" RowSpan="1" Column="1" ColumnSpan="1" /><Control Name="radioButtonCifsNew" Row="6" RowSpan="1" Column="0" ColumnSpan="3" /><Control Name="radioButtonCifsReattach" Row="7" RowSpan="1" Column="0" ColumnSpan="3" /><Control Name="listBoxCifsSRs" Row="8" RowSpan="1" Column="0" ColumnSpan="3" /><Control Name="label2" Row="2" RowSpan="1" Column="1" ColumnSpan="1" /></Controls><Columns Styles="AutoSize,0,Percent,100,AutoSize,0" /><Rows Styles="AutoSize,0,AutoSize,0,AutoSize,0,AutoSize,0,AutoSize,0,AutoSize,0,AutoSize,0,AutoSize,0,Percent,100,Absolute,20" /></TableLayoutSettings></value>
|
||||
</data>
|
||||
<data name="listBoxCifsSRs.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
|
||||
<value>Fill</value>
|
||||
</data>
|
||||
<data name="listBoxCifsSRs.IntegralHeight" type="System.Boolean, mscorlib">
|
||||
<value>False</value>
|
||||
</data>
|
||||
<data name="listBoxCifsSRs.ItemHeight" type="System.Int32, mscorlib">
|
||||
<value>14</value>
|
||||
</data>
|
||||
<data name="listBoxCifsSRs.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>3, 226</value>
|
||||
</data>
|
||||
<data name="listBoxCifsSRs.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>494, 232</value>
|
||||
</data>
|
||||
<data name="listBoxCifsSRs.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>9</value>
|
||||
</data>
|
||||
<data name=">>listBoxCifsSRs.Name" xml:space="preserve">
|
||||
<value>listBoxCifsSRs</value>
|
||||
</data>
|
||||
<data name=">>listBoxCifsSRs.Type" xml:space="preserve">
|
||||
<value>XenAdmin.Controls.SRListBox, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</value>
|
||||
</data>
|
||||
<data name=">>listBoxCifsSRs.Parent" xml:space="preserve">
|
||||
<value>tableLayoutPanel1</value>
|
||||
</data>
|
||||
<data name=">>listBoxCifsSRs.ZOrder" xml:space="preserve">
|
||||
<value>10</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.AutoScaleDimensions" type="System.Drawing.SizeF, System.Drawing">
|
||||
<value>96, 96</value>
|
||||
</data>
|
||||
<data name="$this.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>500, 461</value>
|
||||
</data>
|
||||
<data name=">>$this.Name" xml:space="preserve">
|
||||
<value>CifsFrontend</value>
|
||||
</data>
|
||||
<data name=">>$this.Type" xml:space="preserve">
|
||||
<value>XenAdmin.Controls.XenTabPage, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</value>
|
||||
</data>
|
||||
</root>
|
@ -0,0 +1,546 @@
|
||||
<?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="CifsScanButton.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
|
||||
<value>Left</value>
|
||||
</data>
|
||||
<assembly alias="mscorlib" name="mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
<data name="CifsScanButton.Enabled" type="System.Boolean, mscorlib">
|
||||
<value>False</value>
|
||||
</data>
|
||||
<data name="CifsScanButton.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
|
||||
<value>NoControl</value>
|
||||
</data>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<data name="CifsScanButton.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>427, 49</value>
|
||||
</data>
|
||||
<data name="CifsScanButton.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>70, 23</value>
|
||||
</data>
|
||||
<data name="CifsScanButton.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>3</value>
|
||||
</data>
|
||||
<data name="CifsScanButton.Text" xml:space="preserve">
|
||||
<value>&Scan</value>
|
||||
</data>
|
||||
<data name=">>CifsScanButton.Name" xml:space="preserve">
|
||||
<value>CifsScanButton</value>
|
||||
</data>
|
||||
<data name=">>CifsScanButton.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=">>CifsScanButton.Parent" xml:space="preserve">
|
||||
<value>tableLayoutPanel1</value>
|
||||
</data>
|
||||
<data name=">>CifsScanButton.ZOrder" xml:space="preserve">
|
||||
<value>5</value>
|
||||
</data>
|
||||
<data name="tableLayoutPanel1.ColumnCount" type="System.Int32, mscorlib">
|
||||
<value>3</value>
|
||||
</data>
|
||||
<data name="passwordTextBox.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
|
||||
<value>Left, Right</value>
|
||||
</data>
|
||||
<data name="passwordTextBox.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>78, 132</value>
|
||||
</data>
|
||||
<data name="passwordTextBox.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>343, 20</value>
|
||||
</data>
|
||||
<data name="passwordTextBox.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>11</value>
|
||||
</data>
|
||||
<data name=">>passwordTextBox.Name" xml:space="preserve">
|
||||
<value>passwordTextBox</value>
|
||||
</data>
|
||||
<data name=">>passwordTextBox.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>passwordTextBox.Parent" xml:space="preserve">
|
||||
<value>tableLayoutPanel1</value>
|
||||
</data>
|
||||
<data name=">>passwordTextBox.ZOrder" xml:space="preserve">
|
||||
<value>0</value>
|
||||
</data>
|
||||
<data name="label4.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
|
||||
<value>Left</value>
|
||||
</data>
|
||||
<data name="label4.AutoSize" type="System.Boolean, mscorlib">
|
||||
<value>True</value>
|
||||
</data>
|
||||
<data name="label4.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
|
||||
<value>NoControl</value>
|
||||
</data>
|
||||
<data name="label4.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>3, 135</value>
|
||||
</data>
|
||||
<data name="label4.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>56, 13</value>
|
||||
</data>
|
||||
<data name="label4.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>10</value>
|
||||
</data>
|
||||
<data name="label4.Text" xml:space="preserve">
|
||||
<value>Password:</value>
|
||||
</data>
|
||||
<data name="label4.TextAlign" type="System.Drawing.ContentAlignment, System.Drawing">
|
||||
<value>MiddleLeft</value>
|
||||
</data>
|
||||
<data name=">>label4.Name" xml:space="preserve">
|
||||
<value>label4</value>
|
||||
</data>
|
||||
<data name=">>label4.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=">>label4.Parent" xml:space="preserve">
|
||||
<value>tableLayoutPanel1</value>
|
||||
</data>
|
||||
<data name=">>label4.ZOrder" xml:space="preserve">
|
||||
<value>1</value>
|
||||
</data>
|
||||
<data name="label1.AutoSize" type="System.Boolean, mscorlib">
|
||||
<value>True</value>
|
||||
</data>
|
||||
<data name="label1.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
|
||||
<value>Fill</value>
|
||||
</data>
|
||||
<data name="label1.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>3, 0</value>
|
||||
</data>
|
||||
<data name="label1.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
|
||||
<value>3, 0, 3, 20</value>
|
||||
</data>
|
||||
<data name="label1.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>494, 26</value>
|
||||
</data>
|
||||
<data name="label1.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>0</value>
|
||||
</data>
|
||||
<data name="label1.Text" xml:space="preserve">
|
||||
<value>Provide the name of the share where your SR is located, optionally specifying advanced options. Indicate whether you wish to create a new SR or reattach an existing SR before proceeding.</value>
|
||||
</data>
|
||||
<data name=">>label1.Name" xml:space="preserve">
|
||||
<value>label1</value>
|
||||
</data>
|
||||
<data name=">>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=">>label1.Parent" xml:space="preserve">
|
||||
<value>tableLayoutPanel1</value>
|
||||
</data>
|
||||
<data name=">>label1.ZOrder" xml:space="preserve">
|
||||
<value>2</value>
|
||||
</data>
|
||||
<data name="label3.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
|
||||
<value>Left</value>
|
||||
</data>
|
||||
<data name="label3.AutoSize" type="System.Boolean, mscorlib">
|
||||
<value>True</value>
|
||||
</data>
|
||||
<data name="label3.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
|
||||
<value>NoControl</value>
|
||||
</data>
|
||||
<data name="label3.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>3, 54</value>
|
||||
</data>
|
||||
<data name="label3.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>69, 13</value>
|
||||
</data>
|
||||
<data name="label3.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>1</value>
|
||||
</data>
|
||||
<data name="label3.Text" xml:space="preserve">
|
||||
<value>S&hare Name:</value>
|
||||
</data>
|
||||
<data name="label3.TextAlign" type="System.Drawing.ContentAlignment, System.Drawing">
|
||||
<value>MiddleLeft</value>
|
||||
</data>
|
||||
<data name=">>label3.Name" xml:space="preserve">
|
||||
<value>label3</value>
|
||||
</data>
|
||||
<data name=">>label3.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=">>label3.Parent" xml:space="preserve">
|
||||
<value>tableLayoutPanel1</value>
|
||||
</data>
|
||||
<data name=">>label3.ZOrder" xml:space="preserve">
|
||||
<value>3</value>
|
||||
</data>
|
||||
<data name="CifsServerPathTextBox.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
|
||||
<value>Left, Right</value>
|
||||
</data>
|
||||
<data name="CifsServerPathTextBox.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>78, 50</value>
|
||||
</data>
|
||||
<data name="CifsServerPathTextBox.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>343, 20</value>
|
||||
</data>
|
||||
<data name="CifsServerPathTextBox.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>2</value>
|
||||
</data>
|
||||
<data name=">>CifsServerPathTextBox.Name" xml:space="preserve">
|
||||
<value>CifsServerPathTextBox</value>
|
||||
</data>
|
||||
<data name=">>CifsServerPathTextBox.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>CifsServerPathTextBox.Parent" xml:space="preserve">
|
||||
<value>tableLayoutPanel1</value>
|
||||
</data>
|
||||
<data name=">>CifsServerPathTextBox.ZOrder" xml:space="preserve">
|
||||
<value>4</value>
|
||||
</data>
|
||||
<data name="labelAdvancedOptions.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
|
||||
<value>Left</value>
|
||||
</data>
|
||||
<data name="labelAdvancedOptions.AutoSize" type="System.Boolean, mscorlib">
|
||||
<value>True</value>
|
||||
</data>
|
||||
<data name="labelAdvancedOptions.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
|
||||
<value>NoControl</value>
|
||||
</data>
|
||||
<data name="labelAdvancedOptions.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>3, 109</value>
|
||||
</data>
|
||||
<data name="labelAdvancedOptions.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>61, 13</value>
|
||||
</data>
|
||||
<data name="labelAdvancedOptions.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>5</value>
|
||||
</data>
|
||||
<data name="labelAdvancedOptions.Text" xml:space="preserve">
|
||||
<value>&User name:</value>
|
||||
</data>
|
||||
<data name="labelAdvancedOptions.TextAlign" type="System.Drawing.ContentAlignment, System.Drawing">
|
||||
<value>MiddleLeft</value>
|
||||
</data>
|
||||
<data name=">>labelAdvancedOptions.Name" xml:space="preserve">
|
||||
<value>labelAdvancedOptions</value>
|
||||
</data>
|
||||
<data name=">>labelAdvancedOptions.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=">>labelAdvancedOptions.Parent" xml:space="preserve">
|
||||
<value>tableLayoutPanel1</value>
|
||||
</data>
|
||||
<data name=">>labelAdvancedOptions.ZOrder" xml:space="preserve">
|
||||
<value>6</value>
|
||||
</data>
|
||||
<data name="userNameTextBox.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
|
||||
<value>Left, Right</value>
|
||||
</data>
|
||||
<data name="userNameTextBox.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>78, 106</value>
|
||||
</data>
|
||||
<data name="userNameTextBox.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>343, 20</value>
|
||||
</data>
|
||||
<data name="userNameTextBox.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>6</value>
|
||||
</data>
|
||||
<data name=">>userNameTextBox.Name" xml:space="preserve">
|
||||
<value>userNameTextBox</value>
|
||||
</data>
|
||||
<data name=">>userNameTextBox.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>userNameTextBox.Parent" xml:space="preserve">
|
||||
<value>tableLayoutPanel1</value>
|
||||
</data>
|
||||
<data name=">>userNameTextBox.ZOrder" xml:space="preserve">
|
||||
<value>7</value>
|
||||
</data>
|
||||
<data name="radioButtonCifsNew.AutoSize" type="System.Boolean, mscorlib">
|
||||
<value>True</value>
|
||||
</data>
|
||||
<data name="radioButtonCifsNew.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
|
||||
<value>NoControl</value>
|
||||
</data>
|
||||
<data name="radioButtonCifsNew.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>3, 180</value>
|
||||
</data>
|
||||
<data name="radioButtonCifsNew.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
|
||||
<value>3, 25, 3, 3</value>
|
||||
</data>
|
||||
<data name="radioButtonCifsNew.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>106, 17</value>
|
||||
</data>
|
||||
<data name="radioButtonCifsNew.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>7</value>
|
||||
</data>
|
||||
<data name="radioButtonCifsNew.Text" xml:space="preserve">
|
||||
<value>&Create a new SR</value>
|
||||
</data>
|
||||
<data name=">>radioButtonCifsNew.Name" xml:space="preserve">
|
||||
<value>radioButtonCifsNew</value>
|
||||
</data>
|
||||
<data name=">>radioButtonCifsNew.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.RadioButton, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>radioButtonCifsNew.Parent" xml:space="preserve">
|
||||
<value>tableLayoutPanel1</value>
|
||||
</data>
|
||||
<data name=">>radioButtonCifsNew.ZOrder" xml:space="preserve">
|
||||
<value>8</value>
|
||||
</data>
|
||||
<data name="radioButtonCifsReattach.AutoSize" type="System.Boolean, mscorlib">
|
||||
<value>True</value>
|
||||
</data>
|
||||
<data name="radioButtonCifsReattach.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
|
||||
<value>NoControl</value>
|
||||
</data>
|
||||
<data name="radioButtonCifsReattach.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>3, 203</value>
|
||||
</data>
|
||||
<data name="radioButtonCifsReattach.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>143, 17</value>
|
||||
</data>
|
||||
<data name="radioButtonCifsReattach.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>8</value>
|
||||
</data>
|
||||
<data name="radioButtonCifsReattach.Text" xml:space="preserve">
|
||||
<value>&Reattach an existing SR:</value>
|
||||
</data>
|
||||
<data name=">>radioButtonCifsReattach.Name" xml:space="preserve">
|
||||
<value>radioButtonCifsReattach</value>
|
||||
</data>
|
||||
<data name=">>radioButtonCifsReattach.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.RadioButton, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>radioButtonCifsReattach.Parent" xml:space="preserve">
|
||||
<value>tableLayoutPanel1</value>
|
||||
</data>
|
||||
<data name=">>radioButtonCifsReattach.ZOrder" xml:space="preserve">
|
||||
<value>9</value>
|
||||
</data>
|
||||
<data name="label2.AutoSize" type="System.Boolean, mscorlib">
|
||||
<value>True</value>
|
||||
</data>
|
||||
<data name="label2.Font" type="System.Drawing.Font, System.Drawing">
|
||||
<value>Microsoft Sans Serif, 8.25pt</value>
|
||||
</data>
|
||||
<data name="label2.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
|
||||
<value>NoControl</value>
|
||||
</data>
|
||||
<data name="label2.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>78, 75</value>
|
||||
</data>
|
||||
<data name="label2.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
|
||||
<value>3, 0, 3, 15</value>
|
||||
</data>
|
||||
<data name="label2.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>111, 13</value>
|
||||
</data>
|
||||
<data name="label2.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>4</value>
|
||||
</data>
|
||||
<data name="label2.Text" xml:space="preserve">
|
||||
<value>Example: \\server\path</value>
|
||||
</data>
|
||||
<data name=">>label2.Name" xml:space="preserve">
|
||||
<value>label2</value>
|
||||
</data>
|
||||
<data name=">>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=">>label2.Parent" xml:space="preserve">
|
||||
<value>tableLayoutPanel1</value>
|
||||
</data>
|
||||
<data name=">>label2.ZOrder" xml:space="preserve">
|
||||
<value>11</value>
|
||||
</data>
|
||||
<data name="tableLayoutPanel1.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
|
||||
<value>Fill</value>
|
||||
</data>
|
||||
<data name="tableLayoutPanel1.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>0, 0</value>
|
||||
</data>
|
||||
<data name="tableLayoutPanel1.RowCount" type="System.Int32, mscorlib">
|
||||
<value>9</value>
|
||||
</data>
|
||||
<data name="tableLayoutPanel1.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>500, 461</value>
|
||||
</data>
|
||||
<data name="tableLayoutPanel1.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>0</value>
|
||||
</data>
|
||||
<data name=">>tableLayoutPanel1.Name" xml:space="preserve">
|
||||
<value>tableLayoutPanel1</value>
|
||||
</data>
|
||||
<data name=">>tableLayoutPanel1.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.TableLayoutPanel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>tableLayoutPanel1.Parent" xml:space="preserve">
|
||||
<value>$this</value>
|
||||
</data>
|
||||
<data name=">>tableLayoutPanel1.ZOrder" xml:space="preserve">
|
||||
<value>0</value>
|
||||
</data>
|
||||
<data name="tableLayoutPanel1.LayoutSettings" type="System.Windows.Forms.TableLayoutSettings, System.Windows.Forms">
|
||||
<value><?xml version="1.0" encoding="utf-16"?><TableLayoutSettings><Controls><Control Name="passwordTextBox" Row="4" RowSpan="1" Column="1" ColumnSpan="1" /><Control Name="label4" Row="4" RowSpan="1" Column="0" ColumnSpan="1" /><Control Name="label1" Row="0" RowSpan="1" Column="0" ColumnSpan="3" /><Control Name="label3" Row="1" RowSpan="1" Column="0" ColumnSpan="1" /><Control Name="CifsServerPathTextBox" Row="1" RowSpan="1" Column="1" ColumnSpan="1" /><Control Name="CifsScanButton" Row="1" RowSpan="1" Column="2" ColumnSpan="1" /><Control Name="labelAdvancedOptions" Row="3" RowSpan="1" Column="0" ColumnSpan="1" /><Control Name="userNameTextBox" Row="3" RowSpan="1" Column="1" ColumnSpan="1" /><Control Name="radioButtonCifsNew" Row="6" RowSpan="1" Column="0" ColumnSpan="3" /><Control Name="radioButtonCifsReattach" Row="7" RowSpan="1" Column="0" ColumnSpan="3" /><Control Name="listBoxCifsSRs" Row="8" RowSpan="1" Column="0" ColumnSpan="3" /><Control Name="label2" Row="2" RowSpan="1" Column="1" ColumnSpan="1" /></Controls><Columns Styles="AutoSize,0,Percent,100,AutoSize,0" /><Rows Styles="AutoSize,0,AutoSize,0,AutoSize,0,AutoSize,0,AutoSize,0,AutoSize,0,AutoSize,0,AutoSize,0,Percent,100,Absolute,20" /></TableLayoutSettings></value>
|
||||
</data>
|
||||
<data name="listBoxCifsSRs.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
|
||||
<value>Fill</value>
|
||||
</data>
|
||||
<data name="listBoxCifsSRs.IntegralHeight" type="System.Boolean, mscorlib">
|
||||
<value>False</value>
|
||||
</data>
|
||||
<data name="listBoxCifsSRs.ItemHeight" type="System.Int32, mscorlib">
|
||||
<value>14</value>
|
||||
</data>
|
||||
<data name="listBoxCifsSRs.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>3, 226</value>
|
||||
</data>
|
||||
<data name="listBoxCifsSRs.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>494, 232</value>
|
||||
</data>
|
||||
<data name="listBoxCifsSRs.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>9</value>
|
||||
</data>
|
||||
<data name=">>listBoxCifsSRs.Name" xml:space="preserve">
|
||||
<value>listBoxCifsSRs</value>
|
||||
</data>
|
||||
<data name=">>listBoxCifsSRs.Type" xml:space="preserve">
|
||||
<value>XenAdmin.Controls.SRListBox, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</value>
|
||||
</data>
|
||||
<data name=">>listBoxCifsSRs.Parent" xml:space="preserve">
|
||||
<value>tableLayoutPanel1</value>
|
||||
</data>
|
||||
<data name=">>listBoxCifsSRs.ZOrder" xml:space="preserve">
|
||||
<value>10</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.AutoScaleDimensions" type="System.Drawing.SizeF, System.Drawing">
|
||||
<value>96, 96</value>
|
||||
</data>
|
||||
<data name="$this.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>500, 461</value>
|
||||
</data>
|
||||
<data name=">>$this.Name" xml:space="preserve">
|
||||
<value>CifsFrontend</value>
|
||||
</data>
|
||||
<data name=">>$this.Type" xml:space="preserve">
|
||||
<value>XenAdmin.Controls.XenTabPage, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</value>
|
||||
</data>
|
||||
</root>
|
@ -160,7 +160,7 @@ namespace XenAdmin.Wizards.NewSRWizard_Pages.Frontends
|
||||
{
|
||||
// Disable box
|
||||
ToggleReattachControlsEnabledState(false);
|
||||
listBoxNfsSRs.Items.Add(Messages.NEWSR_NFS_NO_SRS_FOUND);
|
||||
listBoxNfsSRs.Items.Add(Messages.NEWSR_NO_SRS_FOUND);
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -265,6 +265,27 @@ namespace XenAdmin.Wizards.NewSRWizard_Pages
|
||||
}
|
||||
}
|
||||
|
||||
public class SrWizardType_Cifs : SrWizardType
|
||||
{
|
||||
public override IEnumerable<string> Errors
|
||||
{
|
||||
get { return new string[] { /* Failure.SR_BACKEND_FAILURE_111, Failure.SR_BACKEND_FAILURE_112, Failure.SR_BACKEND_FAILURE_113, Failure.SR_BACKEND_FAILURE_114, Failure.SR_BACKEND_FAILURE_454 */ }; }
|
||||
}
|
||||
|
||||
public override bool IsEnhancedSR { get { return false; } }
|
||||
public override string FrontendBlurb { get { return Messages.NEWSR_CIFS_BLURB; } }
|
||||
public override SR.SRTypes Type { get { return SR.SRTypes.cifs; } }
|
||||
public override string ContentType { get { return ""; } }
|
||||
public override bool ShowIntroducePrompt { get { return false; } }
|
||||
public override bool ShowReattachWarning { get { return false; } }
|
||||
public override bool AllowToCreateNewSr { get { return true; } set { } }
|
||||
|
||||
public override void ResetSrName(IXenConnection connection)
|
||||
{
|
||||
SrName = SrWizardHelpers.DefaultSRName(Messages.SRWIZARD_CIFS_STORAGE, connection);
|
||||
}
|
||||
}
|
||||
|
||||
public class SrWizardType_Cslg : SrWizardType
|
||||
{
|
||||
public override bool IsEnhancedSR { get { return true; } }
|
||||
|
@ -559,6 +559,12 @@
|
||||
<Compile Include="Wizards\BallooningWizard_Pages\MemorySettings.Designer.cs">
|
||||
<DependentUpon>MemorySettings.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Wizards\NewSRWizard_Pages\Frontends\CIFSFrontend.cs">
|
||||
<SubType>UserControl</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Wizards\NewSRWizard_Pages\Frontends\CIFSFrontend.Designer.cs">
|
||||
<DependentUpon>CIFSFrontend.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Wizards\NewSRWizard_Pages\Frontends\CSLG.cs">
|
||||
<SubType>UserControl</SubType>
|
||||
</Compile>
|
||||
@ -1704,6 +1710,16 @@
|
||||
<SubType>Designer</SubType>
|
||||
<DependentUpon>RBACWarningPage.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Wizards\NewSRWizard_Pages\Frontends\CIFSFrontend.ja.resx">
|
||||
<DependentUpon>CIFSFrontend.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Wizards\NewSRWizard_Pages\Frontends\CIFSFrontend.resx">
|
||||
<DependentUpon>CIFSFrontend.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Wizards\NewSRWizard_Pages\Frontends\CIFSFrontend.zh-CN.resx">
|
||||
<DependentUpon>CIFSFrontend.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Wizards\NewVMWizard\Page_CloudConfigParameters.ja.resx">
|
||||
<DependentUpon>Page_CloudConfigParameters.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
|
@ -113,7 +113,7 @@ namespace XenAdmin.Actions
|
||||
log.DebugFormat("is shared='{0}'", _srIsShared);
|
||||
|
||||
string secretuuid = null;
|
||||
if (Helpers.MidnightRideOrGreater(Connection))
|
||||
if (Helpers.MidnightRideOrGreater(Connection) && _srType != XenAPI.SR.SRTypes.cifs) //TEMPORARY: cifs SRs will not use XAPI Secret until development work has been finished. For CP-11364 revert this line.
|
||||
{
|
||||
string value;
|
||||
if (_dconf.TryGetValue("cifspassword", out value))
|
||||
@ -130,6 +130,14 @@ namespace XenAdmin.Actions
|
||||
}
|
||||
}
|
||||
|
||||
if (Helpers.MidnightRideOrGreater(Connection))
|
||||
{
|
||||
string tempvalue;
|
||||
System.Diagnostics.Debug.Assert(!_dconf.TryGetValue("password", out tempvalue), "The device config contains 'password', but it should have already been removed!");
|
||||
System.Diagnostics.Debug.Assert(!_dconf.TryGetValue("cifspassword", out tempvalue), "The device config contains 'cifspassword', but it should have already been removed!");
|
||||
System.Diagnostics.Debug.Assert(!_dconf.TryGetValue("chappassword", out tempvalue), "The device config contains 'chappassword', but it should have already been removed!");
|
||||
}
|
||||
|
||||
if (_srType == SR.SRTypes.cslg && !Helpers.BostonOrGreater(Connection))
|
||||
{
|
||||
// make sure this connection is added to the storagelink service.
|
||||
|
47
XenModel/Messages.Designer.cs
generated
47
XenModel/Messages.Designer.cs
generated
@ -1,7 +1,7 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:4.0.30319.18444
|
||||
// Runtime Version:4.0.30319.34209
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
@ -22292,6 +22292,15 @@ namespace XenAdmin {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Select this option if you have a Windows (CIFS) share that you wish to attach to your host or pool..
|
||||
/// </summary>
|
||||
public static string NEWSR_CIFS_BLURB {
|
||||
get {
|
||||
return ResourceManager.GetString("NEWSR_CIFS_BLURB", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Select this option if you have a library of VM installation ISO images available as a Windows (CIFS) share that you wish to attach to your host or pool..
|
||||
/// </summary>
|
||||
@ -22749,15 +22758,6 @@ namespace XenAdmin {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to <No SRs were found>.
|
||||
/// </summary>
|
||||
public static string NEWSR_NFS_NO_SRS_FOUND {
|
||||
get {
|
||||
return ResourceManager.GetString("NEWSR_NFS_NO_SRS_FOUND", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to No IQNs were found on {0}..
|
||||
/// </summary>
|
||||
@ -22776,6 +22776,15 @@ namespace XenAdmin {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to <No SRs were found>.
|
||||
/// </summary>
|
||||
public static string NEWSR_NO_SRS_FOUND {
|
||||
get {
|
||||
return ResourceManager.GetString("NEWSR_NO_SRS_FOUND", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to The given filer has no existing SRs and nowhere to create a new SR..
|
||||
/// </summary>
|
||||
@ -22785,6 +22794,15 @@ namespace XenAdmin {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Enter a path for your CIFS storage.
|
||||
/// </summary>
|
||||
public static string NEWSR_PATH_CIFS {
|
||||
get {
|
||||
return ResourceManager.GetString("NEWSR_PATH_CIFS", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Enter a path for your iSCSI storage.
|
||||
/// </summary>
|
||||
@ -29558,6 +29576,15 @@ namespace XenAdmin {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to CIFS virtual storage.
|
||||
/// </summary>
|
||||
public static string SRWIZARD_CIFS_STORAGE {
|
||||
get {
|
||||
return ResourceManager.GetString("SRWIZARD_CIFS_STORAGE", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to iSCSI virtual disk storage.
|
||||
/// </summary>
|
||||
|
@ -7615,6 +7615,9 @@ You should only proceed if you have verified that these settings are correct.</v
|
||||
<data name="NEWSR_ACTION" xml:space="preserve">
|
||||
<value>NFS SR [{0}]</value>
|
||||
</data>
|
||||
<data name="NEWSR_CIFS_BLURB" xml:space="preserve">
|
||||
<value>Select this option if you have a Windows (CIFS) share that you wish to attach to your host or pool.</value>
|
||||
</data>
|
||||
<data name="NEWSR_CIFS_ISO_BLURB" xml:space="preserve">
|
||||
<value>Select this option if you have a library of VM installation ISO images available as a Windows (CIFS) share that you wish to attach to your host or pool.</value>
|
||||
</data>
|
||||
@ -7781,7 +7784,7 @@ VM cloning uses the snapshot and clone capabilities of the filer to provide high
|
||||
<data name="NEWSR_NFS_ISO_BLURB" xml:space="preserve">
|
||||
<value>Select this option if you have a library of VM installation ISO images available as a NFS share that you wish to attach to your host or pool.</value>
|
||||
</data>
|
||||
<data name="NEWSR_NFS_NO_SRS_FOUND" xml:space="preserve">
|
||||
<data name="NEWSR_NO_SRS_FOUND" xml:space="preserve">
|
||||
<value><No SRs were found></value>
|
||||
</data>
|
||||
<data name="NEWSR_NOWHERE_TO_CREATE" xml:space="preserve">
|
||||
@ -7793,6 +7796,9 @@ VM cloning uses the snapshot and clone capabilities of the filer to provide high
|
||||
<data name="NEWSR_NO_LUNS_FOUND" xml:space="preserve">
|
||||
<value>No LUNs were found on {0}.</value>
|
||||
</data>
|
||||
<data name="NEWSR_PATH_CIFS" xml:space="preserve">
|
||||
<value>Enter a path for your CIFS storage</value>
|
||||
</data>
|
||||
<data name="NEWSR_PATH_ISCSI" xml:space="preserve">
|
||||
<value>Enter a path for your iSCSI storage</value>
|
||||
</data>
|
||||
@ -10185,6 +10191,9 @@ Do you want to connect to the pool master '{1}'?</value>
|
||||
<data name="SRWIZARD_CIFS_LIBRARY" xml:space="preserve">
|
||||
<value>CIFS ISO library</value>
|
||||
</data>
|
||||
<data name="SRWIZARD_CIFS_STORAGE" xml:space="preserve">
|
||||
<value>CIFS virtual storage</value>
|
||||
</data>
|
||||
<data name="SRWIZARD_ISCSI_STORAGE" xml:space="preserve">
|
||||
<value>iSCSI virtual disk storage</value>
|
||||
</data>
|
||||
|
@ -243,6 +243,16 @@ namespace XenAPI
|
||||
return h._RestrictCheckpoint;
|
||||
}
|
||||
|
||||
public static bool RestrictCifs(Host h)
|
||||
{
|
||||
return h._RestrictCifs;
|
||||
}
|
||||
|
||||
private bool _RestrictCifs
|
||||
{
|
||||
get { return BoolKeyPreferTrue(license_params, "restrict_cifs"); }
|
||||
}
|
||||
|
||||
private bool _RestrictWLB
|
||||
{
|
||||
get { return BoolKeyPreferTrue(license_params, "restrict_wlb"); }
|
||||
|
@ -54,7 +54,8 @@ namespace XenAPI
|
||||
local, ext, lvmoiscsi, iso, nfs, lvm, netapp, udev, lvmofc,
|
||||
lvmohba, egenera, egeneracd, dummy, unknown, equal, cslg, shm,
|
||||
iscsi,
|
||||
ebs, rawhba
|
||||
ebs, rawhba,
|
||||
cifs
|
||||
}
|
||||
|
||||
public const string Content_Type_ISO = "iso";
|
||||
@ -247,7 +248,8 @@ namespace XenAPI
|
||||
|| type == SRTypes.equal
|
||||
|| type == SRTypes.netapp
|
||||
|| type == SRTypes.lvmohba
|
||||
|| type == SRTypes.cslg;
|
||||
|| type == SRTypes.cslg
|
||||
|| type == SRTypes.cifs;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user