CA-107624: Set focus on the share name textbox when landing on the page so the user

can start typing immediately. Thus the watermark with the example text is lost,
but I restored in on the label under the textbox instead.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
This commit is contained in:
Konstantina Chremmou 2013-09-27 10:36:54 +01:00
parent 0435251ed5
commit a8f7388777
5 changed files with 65 additions and 339 deletions

View File

@ -33,6 +33,7 @@ namespace XenAdmin.Wizards.NewSRWizard_Pages.Frontends
this.label1 = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label();
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
this.NfsServerPathComboBox = new System.Windows.Forms.ComboBox(); this.NfsServerPathComboBox = new System.Windows.Forms.ComboBox();
this.label2 = new System.Windows.Forms.Label();
this.passwordFailure1 = new XenAdmin.Controls.Common.PasswordFailure(); this.passwordFailure1 = new XenAdmin.Controls.Common.PasswordFailure();
this.tableLayoutPanel1.SuspendLayout(); this.tableLayoutPanel1.SuspendLayout();
this.SuspendLayout(); this.SuspendLayout();
@ -55,7 +56,8 @@ namespace XenAdmin.Wizards.NewSRWizard_Pages.Frontends
this.tableLayoutPanel1.Controls.Add(this.label1, 0, 0); this.tableLayoutPanel1.Controls.Add(this.label1, 0, 0);
this.tableLayoutPanel1.Controls.Add(this.label3, 0, 1); this.tableLayoutPanel1.Controls.Add(this.label3, 0, 1);
this.tableLayoutPanel1.Controls.Add(this.NfsServerPathComboBox, 1, 1); this.tableLayoutPanel1.Controls.Add(this.NfsServerPathComboBox, 1, 1);
this.tableLayoutPanel1.Controls.Add(this.passwordFailure1, 1, 2); this.tableLayoutPanel1.Controls.Add(this.label2, 1, 2);
this.tableLayoutPanel1.Controls.Add(this.passwordFailure1, 1, 3);
this.tableLayoutPanel1.Name = "tableLayoutPanel1"; this.tableLayoutPanel1.Name = "tableLayoutPanel1";
// //
// NfsServerPathComboBox // NfsServerPathComboBox
@ -66,6 +68,11 @@ namespace XenAdmin.Wizards.NewSRWizard_Pages.Frontends
this.NfsServerPathComboBox.SelectedIndexChanged += new System.EventHandler(this.NfsServerPathTextBox_TextChanged); this.NfsServerPathComboBox.SelectedIndexChanged += new System.EventHandler(this.NfsServerPathTextBox_TextChanged);
this.NfsServerPathComboBox.TextChanged += new System.EventHandler(this.NfsServerPathTextBox_TextChanged); this.NfsServerPathComboBox.TextChanged += new System.EventHandler(this.NfsServerPathTextBox_TextChanged);
// //
// label2
//
resources.ApplyResources(this.label2, "label2");
this.label2.Name = "label2";
//
// passwordFailure1 // passwordFailure1
// //
resources.ApplyResources(this.passwordFailure1, "passwordFailure1"); resources.ApplyResources(this.passwordFailure1, "passwordFailure1");
@ -92,5 +99,6 @@ namespace XenAdmin.Wizards.NewSRWizard_Pages.Frontends
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1; private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
private System.Windows.Forms.ComboBox NfsServerPathComboBox; private System.Windows.Forms.ComboBox NfsServerPathComboBox;
private XenAdmin.Controls.Common.PasswordFailure passwordFailure1; private XenAdmin.Controls.Common.PasswordFailure passwordFailure1;
private System.Windows.Forms.Label label2;
} }
} }

View File

@ -32,9 +32,9 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using XenAdmin.Core; using XenAdmin.Core;
using XenAPI;
using XenAdmin.Controls; using XenAdmin.Controls;
using XenAdmin.Network; using XenAdmin.Network;
using XenAPI;
namespace XenAdmin.Wizards.NewSRWizard_Pages.Frontends namespace XenAdmin.Wizards.NewSRWizard_Pages.Frontends
@ -53,7 +53,6 @@ namespace XenAdmin.Wizards.NewSRWizard_Pages.Frontends
{ {
InitializeComponent(); InitializeComponent();
passwordFailure1.Visible = false; passwordFailure1.Visible = false;
CueBannersManager.SetWatermark(NfsServerPathComboBox, Messages.NFS_ISO_PATH_EXAMPLE);
} }
#region XenTabPage overrides #region XenTabPage overrides
@ -103,6 +102,14 @@ namespace XenAdmin.Wizards.NewSRWizard_Pages.Frontends
this.NfsServerPathComboBox.Items.AddRange(add_srs.ToArray()); this.NfsServerPathComboBox.Items.AddRange(add_srs.ToArray());
} }
public override void PageLoaded(PageLoadedDirection direction)
{
base.PageLoaded(direction);
if (direction == PageLoadedDirection.Forward)
HelpersGUI.FocusFirstControl(Controls);
}
#endregion #endregion
private bool IsSRNameUnique(out string error) private bool IsSRNameUnique(out string error)

View File

@ -117,193 +117,35 @@
<resheader name="writer"> <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=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader> </resheader>
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="label3.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Left</value>
</data>
<assembly alias="mscorlib" name="mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<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>
<assembly alias="System.Drawing" name="System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> <assembly alias="System.Drawing" name="System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="label3.Location" type="System.Drawing.Point, System.Drawing">
<value>3, 53</value>
</data>
<data name="label3.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>3, 3, 10, 10</value>
</data>
<data name="label3.Size" type="System.Drawing.Size, System.Drawing"> <data name="label3.Size" type="System.Drawing.Size, System.Drawing">
<value>59, 13</value> <value>59, 13</value>
</data> </data>
<data name="label3.TabIndex" type="System.Int32, mscorlib">
<value>1</value>
</data>
<data name="label3.Text" xml:space="preserve"> <data name="label3.Text" xml:space="preserve">
<value>共有名(&amp;S):</value> <value>共有名(&amp;S):</value>
</data> </data>
<data name="label3.TextAlign" type="System.Drawing.ContentAlignment, System.Drawing">
<value>MiddleLeft</value>
</data>
<data name="&gt;&gt;label3.Name" xml:space="preserve">
<value>label3</value>
</data>
<data name="&gt;&gt;label3.Type" xml:space="preserve">
<value>System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;label3.Parent" xml:space="preserve">
<value>tableLayoutPanel1</value>
</data>
<data name="&gt;&gt;label3.ZOrder" xml:space="preserve">
<value>1</value>
</data>
<data name="label1.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
</data>
<data name="tableLayoutPanel1.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
</data>
<data name="tableLayoutPanel1.AutoSizeMode" type="System.Windows.Forms.AutoSizeMode, System.Windows.Forms">
<value>GrowAndShrink</value>
</data>
<data name="tableLayoutPanel1.ColumnCount" type="System.Int32, mscorlib">
<value>2</value>
</data>
<data name="NfsServerPathComboBox.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
<value>Fill</value>
</data>
<data name="NfsServerPathComboBox.Location" type="System.Drawing.Point, System.Drawing"> <data name="NfsServerPathComboBox.Location" type="System.Drawing.Point, System.Drawing">
<value>75, 49</value> <value>75, 49</value>
</data> </data>
<data name="NfsServerPathComboBox.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>3, 3, 3, 10</value>
</data>
<data name="NfsServerPathComboBox.Size" type="System.Drawing.Size, System.Drawing"> <data name="NfsServerPathComboBox.Size" type="System.Drawing.Size, System.Drawing">
<value>422, 21</value> <value>422, 21</value>
</data> </data>
<data name="NfsServerPathComboBox.TabIndex" type="System.Int32, mscorlib"> <data name="label2.Location" type="System.Drawing.Point, System.Drawing">
<value>2</value> <value>75, 76</value>
</data>
<data name="&gt;&gt;NfsServerPathComboBox.Name" xml:space="preserve">
<value>NfsServerPathComboBox</value>
</data>
<data name="&gt;&gt;NfsServerPathComboBox.Type" xml:space="preserve">
<value>System.Windows.Forms.ComboBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;NfsServerPathComboBox.Parent" xml:space="preserve">
<value>tableLayoutPanel1</value>
</data>
<data name="&gt;&gt;NfsServerPathComboBox.ZOrder" xml:space="preserve">
<value>2</value>
</data>
<data name="passwordFailure1.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
</data>
<data name="passwordFailure1.AutoSizeMode" type="System.Windows.Forms.AutoSizeMode, System.Windows.Forms">
<value>GrowAndShrink</value>
</data>
<data name="passwordFailure1.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
<value>Fill</value>
</data> </data>
<data name="passwordFailure1.Error" xml:space="preserve"> <data name="passwordFailure1.Error" xml:space="preserve">
<value>この NFS ISO ストレージは既に接続されています</value> <value>この NFS ISO ストレージは既に接続されています</value>
</data> </data>
<data name="passwordFailure1.Location" type="System.Drawing.Point, System.Drawing"> <data name="passwordFailure1.Location" type="System.Drawing.Point, System.Drawing">
<value>72, 80</value> <value>72, 104</value>
</data>
<data name="passwordFailure1.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>0, 0, 0, 0</value>
</data> </data>
<data name="passwordFailure1.Size" type="System.Drawing.Size, System.Drawing"> <data name="passwordFailure1.Size" type="System.Drawing.Size, System.Drawing">
<value>428, 22</value> <value>428, 22</value>
</data> </data>
<data name="passwordFailure1.TabIndex" type="System.Int32, mscorlib">
<value>3</value>
</data>
<data name="&gt;&gt;passwordFailure1.Name" xml:space="preserve">
<value>passwordFailure1</value>
</data>
<data name="&gt;&gt;passwordFailure1.Type" xml:space="preserve">
<value>XenAdmin.Controls.Common.PasswordFailure, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</value>
</data>
<data name="&gt;&gt;passwordFailure1.Parent" xml:space="preserve">
<value>tableLayoutPanel1</value>
</data>
<data name="&gt;&gt;passwordFailure1.ZOrder" xml:space="preserve">
<value>3</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>4</value>
</data>
<data name="tableLayoutPanel1.Size" type="System.Drawing.Size, System.Drawing">
<value>500, 300</value>
</data>
<data name="tableLayoutPanel1.TabIndex" type="System.Int32, mscorlib">
<value>0</value>
</data>
<data name="&gt;&gt;tableLayoutPanel1.Name" xml:space="preserve">
<value>tableLayoutPanel1</value>
</data>
<data name="&gt;&gt;tableLayoutPanel1.Type" xml:space="preserve">
<value>System.Windows.Forms.TableLayoutPanel, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;tableLayoutPanel1.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;tableLayoutPanel1.ZOrder" xml:space="preserve">
<value>0</value>
</data>
<data name="tableLayoutPanel1.LayoutSettings" type="System.Windows.Forms.TableLayoutSettings, System.Windows.Forms">
<value>&lt;?xml version="1.0" encoding="utf-16"?&gt;&lt;TableLayoutSettings&gt;&lt;Controls&gt;&lt;Control Name="label1" Row="0" RowSpan="1" Column="0" ColumnSpan="2" /&gt;&lt;Control Name="label3" Row="1" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;Control Name="NfsServerPathComboBox" Row="1" RowSpan="1" Column="1" ColumnSpan="1" /&gt;&lt;Control Name="passwordFailure1" Row="2" RowSpan="1" Column="1" ColumnSpan="1" /&gt;&lt;/Controls&gt;&lt;Columns Styles="AutoSize,0,Percent,100" /&gt;&lt;Rows Styles="AutoSize,43,AutoSize,0,AutoSize,0,Percent,100" /&gt;&lt;/TableLayoutSettings&gt;</value>
</data>
<data name="label1.Location" type="System.Drawing.Point, System.Drawing">
<value>3, 3</value>
</data>
<data name="label1.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>3, 3, 3, 30</value>
</data>
<data name="label1.Size" type="System.Drawing.Size, System.Drawing"> <data name="label1.Size" type="System.Drawing.Size, System.Drawing">
<value>338, 13</value> <value>298, 13</value>
</data>
<data name="label1.TabIndex" type="System.Int32, mscorlib">
<value>0</value>
</data> </data>
<data name="label1.Text" xml:space="preserve"> <data name="label1.Text" xml:space="preserve">
<value>この NFS ISO ストレージを格納する共有の名前を入力します。</value> <value>この NFS ISO ストレージを格納する共有の名前を入力します。</value>
</data> </data>
<data name="&gt;&gt;label1.Name" xml:space="preserve">
<value>label1</value>
</data>
<data name="&gt;&gt;label1.Type" xml:space="preserve">
<value>System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;label1.Parent" xml:space="preserve">
<value>tableLayoutPanel1</value>
</data>
<data name="&gt;&gt;label1.ZOrder" xml:space="preserve">
<value>0</value>
</data>
<metadata name="$this.Localizable" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<data name="$this.AutoScaleDimensions" type="System.Drawing.SizeF, System.Drawing">
<value>96, 96</value>
</data>
<data name="$this.Size" type="System.Drawing.Size, System.Drawing">
<value>500, 300</value>
</data>
<data name="&gt;&gt;$this.Name" xml:space="preserve">
<value>NFS_ISO</value>
</data>
<data name="&gt;&gt;$this.Type" xml:space="preserve">
<value>XenAdmin.Controls.XenTabPage, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</value>
</data>
</root> </root>

View File

@ -133,7 +133,7 @@
<value>3, 53</value> <value>3, 53</value>
</data> </data>
<data name="label3.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms"> <data name="label3.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>3, 3, 10, 10</value> <value>3, 0, 10, 0</value>
</data> </data>
<data name="label3.Size" type="System.Drawing.Size, System.Drawing"> <data name="label3.Size" type="System.Drawing.Size, System.Drawing">
<value>69, 13</value> <value>69, 13</value>
@ -171,15 +171,12 @@
<data name="tableLayoutPanel1.ColumnCount" type="System.Int32, mscorlib"> <data name="tableLayoutPanel1.ColumnCount" type="System.Int32, mscorlib">
<value>2</value> <value>2</value>
</data> </data>
<data name="NfsServerPathComboBox.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms"> <data name="NfsServerPathComboBox.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Fill</value> <value>Left, Right</value>
</data> </data>
<data name="NfsServerPathComboBox.Location" type="System.Drawing.Point, System.Drawing"> <data name="NfsServerPathComboBox.Location" type="System.Drawing.Point, System.Drawing">
<value>85, 49</value> <value>85, 49</value>
</data> </data>
<data name="NfsServerPathComboBox.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>3, 3, 3, 10</value>
</data>
<data name="NfsServerPathComboBox.Size" type="System.Drawing.Size, System.Drawing"> <data name="NfsServerPathComboBox.Size" type="System.Drawing.Size, System.Drawing">
<value>412, 21</value> <value>412, 21</value>
</data> </data>
@ -198,6 +195,36 @@
<data name="&gt;&gt;NfsServerPathComboBox.ZOrder" xml:space="preserve"> <data name="&gt;&gt;NfsServerPathComboBox.ZOrder" xml:space="preserve">
<value>2</value> <value>2</value>
</data> </data>
<data name="label2.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
</data>
<data name="label2.Location" type="System.Drawing.Point, System.Drawing">
<value>85, 76</value>
</data>
<data name="label2.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>3, 3, 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>3</value>
</data>
<data name="label2.Text" xml:space="preserve">
<value>Example: server:/path</value>
</data>
<data name="&gt;&gt;label2.Name" xml:space="preserve">
<value>label2</value>
</data>
<data name="&gt;&gt;label2.Type" xml:space="preserve">
<value>System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;label2.Parent" xml:space="preserve">
<value>tableLayoutPanel1</value>
</data>
<data name="&gt;&gt;label2.ZOrder" xml:space="preserve">
<value>3</value>
</data>
<data name="passwordFailure1.AutoSize" type="System.Boolean, mscorlib"> <data name="passwordFailure1.AutoSize" type="System.Boolean, mscorlib">
<value>True</value> <value>True</value>
</data> </data>
@ -211,7 +238,7 @@
<value>This NFS ISO storage is already attached</value> <value>This NFS ISO storage is already attached</value>
</data> </data>
<data name="passwordFailure1.Location" type="System.Drawing.Point, System.Drawing"> <data name="passwordFailure1.Location" type="System.Drawing.Point, System.Drawing">
<value>82, 80</value> <value>82, 104</value>
</data> </data>
<data name="passwordFailure1.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms"> <data name="passwordFailure1.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>0, 0, 0, 0</value> <value>0, 0, 0, 0</value>
@ -220,7 +247,7 @@
<value>418, 22</value> <value>418, 22</value>
</data> </data>
<data name="passwordFailure1.TabIndex" type="System.Int32, mscorlib"> <data name="passwordFailure1.TabIndex" type="System.Int32, mscorlib">
<value>3</value> <value>4</value>
</data> </data>
<data name="&gt;&gt;passwordFailure1.Name" xml:space="preserve"> <data name="&gt;&gt;passwordFailure1.Name" xml:space="preserve">
<value>passwordFailure1</value> <value>passwordFailure1</value>
@ -232,7 +259,7 @@
<value>tableLayoutPanel1</value> <value>tableLayoutPanel1</value>
</data> </data>
<data name="&gt;&gt;passwordFailure1.ZOrder" xml:space="preserve"> <data name="&gt;&gt;passwordFailure1.ZOrder" xml:space="preserve">
<value>3</value> <value>4</value>
</data> </data>
<data name="tableLayoutPanel1.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms"> <data name="tableLayoutPanel1.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
<value>Fill</value> <value>Fill</value>
@ -241,7 +268,7 @@
<value>0, 0</value> <value>0, 0</value>
</data> </data>
<data name="tableLayoutPanel1.RowCount" type="System.Int32, mscorlib"> <data name="tableLayoutPanel1.RowCount" type="System.Int32, mscorlib">
<value>4</value> <value>5</value>
</data> </data>
<data name="tableLayoutPanel1.Size" type="System.Drawing.Size, System.Drawing"> <data name="tableLayoutPanel1.Size" type="System.Drawing.Size, System.Drawing">
<value>500, 300</value> <value>500, 300</value>
@ -262,7 +289,7 @@
<value>0</value> <value>0</value>
</data> </data>
<data name="tableLayoutPanel1.LayoutSettings" type="System.Windows.Forms.TableLayoutSettings, System.Windows.Forms"> <data name="tableLayoutPanel1.LayoutSettings" type="System.Windows.Forms.TableLayoutSettings, System.Windows.Forms">
<value>&lt;?xml version="1.0" encoding="utf-16"?&gt;&lt;TableLayoutSettings&gt;&lt;Controls&gt;&lt;Control Name="label1" Row="0" RowSpan="1" Column="0" ColumnSpan="2" /&gt;&lt;Control Name="label3" Row="1" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;Control Name="NfsServerPathComboBox" Row="1" RowSpan="1" Column="1" ColumnSpan="1" /&gt;&lt;Control Name="passwordFailure1" Row="2" RowSpan="1" Column="1" ColumnSpan="1" /&gt;&lt;/Controls&gt;&lt;Columns Styles="AutoSize,0,Percent,100" /&gt;&lt;Rows Styles="AutoSize,43,AutoSize,0,AutoSize,0,Percent,100" /&gt;&lt;/TableLayoutSettings&gt;</value> <value>&lt;?xml version="1.0" encoding="utf-16"?&gt;&lt;TableLayoutSettings&gt;&lt;Controls&gt;&lt;Control Name="label1" Row="0" RowSpan="1" Column="0" ColumnSpan="2" /&gt;&lt;Control Name="label3" Row="1" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;Control Name="NfsServerPathComboBox" Row="1" RowSpan="1" Column="1" ColumnSpan="1" /&gt;&lt;Control Name="label2" Row="2" RowSpan="1" Column="1" ColumnSpan="1" /&gt;&lt;Control Name="passwordFailure1" Row="3" RowSpan="1" Column="1" ColumnSpan="1" /&gt;&lt;/Controls&gt;&lt;Columns Styles="AutoSize,0,Percent,100" /&gt;&lt;Rows Styles="AutoSize,0,AutoSize,0,AutoSize,0,AutoSize,0,Percent,100" /&gt;&lt;/TableLayoutSettings&gt;</value>
</data> </data>
<data name="label1.Location" type="System.Drawing.Point, System.Drawing"> <data name="label1.Location" type="System.Drawing.Point, System.Drawing">
<value>3, 3</value> <value>3, 3</value>

View File

@ -117,193 +117,35 @@
<resheader name="writer"> <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=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader> </resheader>
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="label3.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Left</value>
</data>
<assembly alias="mscorlib" name="mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<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>
<assembly alias="System.Drawing" name="System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> <assembly alias="System.Drawing" name="System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="label3.Location" type="System.Drawing.Point, System.Drawing">
<value>3, 53</value>
</data>
<data name="label3.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>3, 3, 10, 10</value>
</data>
<data name="label3.Size" type="System.Drawing.Size, System.Drawing"> <data name="label3.Size" type="System.Drawing.Size, System.Drawing">
<value>69, 13</value> <value>71, 13</value>
</data>
<data name="label3.TabIndex" type="System.Int32, mscorlib">
<value>1</value>
</data> </data>
<data name="label3.Text" xml:space="preserve"> <data name="label3.Text" xml:space="preserve">
<value>共享名称(&amp;S):</value> <value>共享名称(&amp;S):</value>
</data> </data>
<data name="label3.TextAlign" type="System.Drawing.ContentAlignment, System.Drawing">
<value>MiddleLeft</value>
</data>
<data name="&gt;&gt;label3.Name" xml:space="preserve">
<value>label3</value>
</data>
<data name="&gt;&gt;label3.Type" xml:space="preserve">
<value>System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;label3.Parent" xml:space="preserve">
<value>tableLayoutPanel1</value>
</data>
<data name="&gt;&gt;label3.ZOrder" xml:space="preserve">
<value>1</value>
</data>
<data name="label1.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
</data>
<data name="tableLayoutPanel1.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
</data>
<data name="tableLayoutPanel1.AutoSizeMode" type="System.Windows.Forms.AutoSizeMode, System.Windows.Forms">
<value>GrowAndShrink</value>
</data>
<data name="tableLayoutPanel1.ColumnCount" type="System.Int32, mscorlib">
<value>2</value>
</data>
<data name="NfsServerPathComboBox.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
<value>Fill</value>
</data>
<data name="NfsServerPathComboBox.Location" type="System.Drawing.Point, System.Drawing"> <data name="NfsServerPathComboBox.Location" type="System.Drawing.Point, System.Drawing">
<value>87, 49</value> <value>87, 49</value>
</data> </data>
<data name="NfsServerPathComboBox.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>3, 3, 3, 10</value>
</data>
<data name="NfsServerPathComboBox.Size" type="System.Drawing.Size, System.Drawing"> <data name="NfsServerPathComboBox.Size" type="System.Drawing.Size, System.Drawing">
<value>410, 21</value> <value>410, 21</value>
</data> </data>
<data name="NfsServerPathComboBox.TabIndex" type="System.Int32, mscorlib"> <data name="label2.Location" type="System.Drawing.Point, System.Drawing">
<value>2</value> <value>87, 76</value>
</data>
<data name="&gt;&gt;NfsServerPathComboBox.Name" xml:space="preserve">
<value>NfsServerPathComboBox</value>
</data>
<data name="&gt;&gt;NfsServerPathComboBox.Type" xml:space="preserve">
<value>System.Windows.Forms.ComboBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;NfsServerPathComboBox.Parent" xml:space="preserve">
<value>tableLayoutPanel1</value>
</data>
<data name="&gt;&gt;NfsServerPathComboBox.ZOrder" xml:space="preserve">
<value>2</value>
</data>
<data name="passwordFailure1.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
</data>
<data name="passwordFailure1.AutoSizeMode" type="System.Windows.Forms.AutoSizeMode, System.Windows.Forms">
<value>GrowAndShrink</value>
</data>
<data name="passwordFailure1.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
<value>Fill</value>
</data> </data>
<data name="passwordFailure1.Error" xml:space="preserve"> <data name="passwordFailure1.Error" xml:space="preserve">
<value>此 NFS ISO 存储已连接</value> <value>此 NFS ISO 存储已连接</value>
</data> </data>
<data name="passwordFailure1.Location" type="System.Drawing.Point, System.Drawing"> <data name="passwordFailure1.Location" type="System.Drawing.Point, System.Drawing">
<value>84, 80</value> <value>84, 104</value>
</data>
<data name="passwordFailure1.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>0, 0, 0, 0</value>
</data> </data>
<data name="passwordFailure1.Size" type="System.Drawing.Size, System.Drawing"> <data name="passwordFailure1.Size" type="System.Drawing.Size, System.Drawing">
<value>416, 22</value> <value>416, 22</value>
</data> </data>
<data name="passwordFailure1.TabIndex" type="System.Int32, mscorlib">
<value>3</value>
</data>
<data name="&gt;&gt;passwordFailure1.Name" xml:space="preserve">
<value>passwordFailure1</value>
</data>
<data name="&gt;&gt;passwordFailure1.Type" xml:space="preserve">
<value>XenAdmin.Controls.Common.PasswordFailure, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</value>
</data>
<data name="&gt;&gt;passwordFailure1.Parent" xml:space="preserve">
<value>tableLayoutPanel1</value>
</data>
<data name="&gt;&gt;passwordFailure1.ZOrder" xml:space="preserve">
<value>3</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>4</value>
</data>
<data name="tableLayoutPanel1.Size" type="System.Drawing.Size, System.Drawing">
<value>500, 300</value>
</data>
<data name="tableLayoutPanel1.TabIndex" type="System.Int32, mscorlib">
<value>0</value>
</data>
<data name="&gt;&gt;tableLayoutPanel1.Name" xml:space="preserve">
<value>tableLayoutPanel1</value>
</data>
<data name="&gt;&gt;tableLayoutPanel1.Type" xml:space="preserve">
<value>System.Windows.Forms.TableLayoutPanel, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;tableLayoutPanel1.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;tableLayoutPanel1.ZOrder" xml:space="preserve">
<value>0</value>
</data>
<data name="tableLayoutPanel1.LayoutSettings" type="System.Windows.Forms.TableLayoutSettings, System.Windows.Forms">
<value>&lt;?xml version="1.0" encoding="utf-16"?&gt;&lt;TableLayoutSettings&gt;&lt;Controls&gt;&lt;Control Name="label1" Row="0" RowSpan="1" Column="0" ColumnSpan="2" /&gt;&lt;Control Name="label3" Row="1" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;Control Name="NfsServerPathComboBox" Row="1" RowSpan="1" Column="1" ColumnSpan="1" /&gt;&lt;Control Name="passwordFailure1" Row="2" RowSpan="1" Column="1" ColumnSpan="1" /&gt;&lt;/Controls&gt;&lt;Columns Styles="AutoSize,0,Percent,100" /&gt;&lt;Rows Styles="AutoSize,43,AutoSize,0,AutoSize,0,Percent,100" /&gt;&lt;/TableLayoutSettings&gt;</value>
</data>
<data name="label1.Location" type="System.Drawing.Point, System.Drawing">
<value>3, 3</value>
</data>
<data name="label1.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>3, 3, 3, 30</value>
</data>
<data name="label1.Size" type="System.Drawing.Size, System.Drawing"> <data name="label1.Size" type="System.Drawing.Size, System.Drawing">
<value>338, 13</value> <value>195, 13</value>
</data>
<data name="label1.TabIndex" type="System.Int32, mscorlib">
<value>0</value>
</data> </data>
<data name="label1.Text" xml:space="preserve"> <data name="label1.Text" xml:space="preserve">
<value>提供 NFS ISO 存储所在共享的名称。</value> <value>提供 NFS ISO 存储所在共享的名称。</value>
</data> </data>
<data name="&gt;&gt;label1.Name" xml:space="preserve">
<value>label1</value>
</data>
<data name="&gt;&gt;label1.Type" xml:space="preserve">
<value>System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;label1.Parent" xml:space="preserve">
<value>tableLayoutPanel1</value>
</data>
<data name="&gt;&gt;label1.ZOrder" xml:space="preserve">
<value>0</value>
</data>
<metadata name="$this.Localizable" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<data name="$this.AutoScaleDimensions" type="System.Drawing.SizeF, System.Drawing">
<value>96, 96</value>
</data>
<data name="$this.Size" type="System.Drawing.Size, System.Drawing">
<value>500, 300</value>
</data>
<data name="&gt;&gt;$this.Name" xml:space="preserve">
<value>NFS_ISO</value>
</data>
<data name="&gt;&gt;$this.Type" xml:space="preserve">
<value>XenAdmin.Controls.XenTabPage, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</value>
</data>
</root> </root>