mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2025-01-20 07:19:18 +01:00
CA-188553: [PAR-80] Creating a VLAN with MTU 9000 should be disabled if the base interface's MTU is < 9000
Changes following code review: * Disabled MTU control and added info label when MTU cannot be changed (due to Min==Max) Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
This commit is contained in:
parent
49c17f9afb
commit
8c38c4c098
147
XenAdmin/Controls/BondDetails.Designer.cs
generated
147
XenAdmin/Controls/BondDetails.Designer.cs
generated
@ -32,17 +32,12 @@ namespace XenAdmin.Controls
|
||||
this.cbxAutomatic = new System.Windows.Forms.CheckBox();
|
||||
this.dataGridView1 = new System.Windows.Forms.DataGridView();
|
||||
this.ColumnCheckBox = new System.Windows.Forms.DataGridViewCheckBoxColumn();
|
||||
this.ColumnNic = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.ColumnMac = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.ColumnLinkStatus = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.ColumnSpeed = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.ColumnDuplex = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.ColumnVendor = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.ColumnDevice = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.ColumnPci = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.numericUpDownMTU = new System.Windows.Forms.NumericUpDown();
|
||||
this.labelMTU = new System.Windows.Forms.Label();
|
||||
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
||||
this.infoMtuPanel = new System.Windows.Forms.Panel();
|
||||
this.infoMtuMessage = new System.Windows.Forms.Label();
|
||||
this.pictureBox2 = new System.Windows.Forms.PictureBox();
|
||||
this.panelLACPWarning = new System.Windows.Forms.Panel();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.pictureBox1 = new System.Windows.Forms.PictureBox();
|
||||
@ -60,9 +55,19 @@ namespace XenAdmin.Controls
|
||||
this.dataGridViewTextBoxColumn6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.dataGridViewTextBoxColumn7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.dataGridViewTextBoxColumn8 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.ColumnNic = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.ColumnMac = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.ColumnLinkStatus = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.ColumnSpeed = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.ColumnDuplex = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.ColumnVendor = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.ColumnDevice = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.ColumnPci = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numericUpDownMTU)).BeginInit();
|
||||
this.tableLayoutPanel1.SuspendLayout();
|
||||
this.infoMtuPanel.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit();
|
||||
this.panelLACPWarning.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
|
||||
this.groupBoxBondMode.SuspendLayout();
|
||||
@ -109,55 +114,6 @@ namespace XenAdmin.Controls
|
||||
resources.ApplyResources(this.ColumnCheckBox, "ColumnCheckBox");
|
||||
this.ColumnCheckBox.Name = "ColumnCheckBox";
|
||||
//
|
||||
// ColumnNic
|
||||
//
|
||||
resources.ApplyResources(this.ColumnNic, "ColumnNic");
|
||||
this.ColumnNic.Name = "ColumnNic";
|
||||
this.ColumnNic.ReadOnly = true;
|
||||
//
|
||||
// ColumnMac
|
||||
//
|
||||
resources.ApplyResources(this.ColumnMac, "ColumnMac");
|
||||
this.ColumnMac.Name = "ColumnMac";
|
||||
this.ColumnMac.ReadOnly = true;
|
||||
//
|
||||
// ColumnLinkStatus
|
||||
//
|
||||
resources.ApplyResources(this.ColumnLinkStatus, "ColumnLinkStatus");
|
||||
this.ColumnLinkStatus.Name = "ColumnLinkStatus";
|
||||
this.ColumnLinkStatus.ReadOnly = true;
|
||||
//
|
||||
// ColumnSpeed
|
||||
//
|
||||
resources.ApplyResources(this.ColumnSpeed, "ColumnSpeed");
|
||||
this.ColumnSpeed.Name = "ColumnSpeed";
|
||||
this.ColumnSpeed.ReadOnly = true;
|
||||
//
|
||||
// ColumnDuplex
|
||||
//
|
||||
resources.ApplyResources(this.ColumnDuplex, "ColumnDuplex");
|
||||
this.ColumnDuplex.Name = "ColumnDuplex";
|
||||
this.ColumnDuplex.ReadOnly = true;
|
||||
//
|
||||
// ColumnVendor
|
||||
//
|
||||
resources.ApplyResources(this.ColumnVendor, "ColumnVendor");
|
||||
this.ColumnVendor.Name = "ColumnVendor";
|
||||
this.ColumnVendor.ReadOnly = true;
|
||||
//
|
||||
// ColumnDevice
|
||||
//
|
||||
resources.ApplyResources(this.ColumnDevice, "ColumnDevice");
|
||||
this.ColumnDevice.Name = "ColumnDevice";
|
||||
this.ColumnDevice.ReadOnly = true;
|
||||
//
|
||||
// ColumnPci
|
||||
//
|
||||
this.ColumnPci.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
||||
resources.ApplyResources(this.ColumnPci, "ColumnPci");
|
||||
this.ColumnPci.Name = "ColumnPci";
|
||||
this.ColumnPci.ReadOnly = true;
|
||||
//
|
||||
// numericUpDownMTU
|
||||
//
|
||||
resources.ApplyResources(this.numericUpDownMTU, "numericUpDownMTU");
|
||||
@ -171,6 +127,7 @@ namespace XenAdmin.Controls
|
||||
// tableLayoutPanel1
|
||||
//
|
||||
resources.ApplyResources(this.tableLayoutPanel1, "tableLayoutPanel1");
|
||||
this.tableLayoutPanel1.Controls.Add(this.infoMtuPanel, 3, 3);
|
||||
this.tableLayoutPanel1.Controls.Add(this.panelLACPWarning, 0, 1);
|
||||
this.tableLayoutPanel1.Controls.Add(this.numericUpDownMTU, 1, 3);
|
||||
this.tableLayoutPanel1.Controls.Add(this.dataGridView1, 0, 0);
|
||||
@ -179,6 +136,25 @@ namespace XenAdmin.Controls
|
||||
this.tableLayoutPanel1.Controls.Add(this.groupBoxBondMode, 0, 1);
|
||||
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
|
||||
//
|
||||
// infoMtuPanel
|
||||
//
|
||||
resources.ApplyResources(this.infoMtuPanel, "infoMtuPanel");
|
||||
this.infoMtuPanel.Controls.Add(this.infoMtuMessage);
|
||||
this.infoMtuPanel.Controls.Add(this.pictureBox2);
|
||||
this.infoMtuPanel.Name = "infoMtuPanel";
|
||||
//
|
||||
// infoMtuMessage
|
||||
//
|
||||
resources.ApplyResources(this.infoMtuMessage, "infoMtuMessage");
|
||||
this.infoMtuMessage.Name = "infoMtuMessage";
|
||||
//
|
||||
// pictureBox2
|
||||
//
|
||||
resources.ApplyResources(this.pictureBox2, "pictureBox2");
|
||||
this.pictureBox2.Image = global::XenAdmin.Properties.Resources._000_Info3_h32bit_16;
|
||||
this.pictureBox2.Name = "pictureBox2";
|
||||
this.pictureBox2.TabStop = false;
|
||||
//
|
||||
// panelLACPWarning
|
||||
//
|
||||
resources.ApplyResources(this.panelLACPWarning, "panelLACPWarning");
|
||||
@ -202,7 +178,7 @@ namespace XenAdmin.Controls
|
||||
// groupBoxBondMode
|
||||
//
|
||||
resources.ApplyResources(this.groupBoxBondMode, "groupBoxBondMode");
|
||||
this.tableLayoutPanel1.SetColumnSpan(this.groupBoxBondMode, 2);
|
||||
this.tableLayoutPanel1.SetColumnSpan(this.groupBoxBondMode, 3);
|
||||
this.groupBoxBondMode.Controls.Add(this.tableLayoutPanelBondMode);
|
||||
this.groupBoxBondMode.Name = "groupBoxBondMode";
|
||||
this.groupBoxBondMode.TabStop = false;
|
||||
@ -295,6 +271,55 @@ namespace XenAdmin.Controls
|
||||
this.dataGridViewTextBoxColumn8.Name = "dataGridViewTextBoxColumn8";
|
||||
this.dataGridViewTextBoxColumn8.ReadOnly = true;
|
||||
//
|
||||
// ColumnNic
|
||||
//
|
||||
resources.ApplyResources(this.ColumnNic, "ColumnNic");
|
||||
this.ColumnNic.Name = "ColumnNic";
|
||||
this.ColumnNic.ReadOnly = true;
|
||||
//
|
||||
// ColumnMac
|
||||
//
|
||||
resources.ApplyResources(this.ColumnMac, "ColumnMac");
|
||||
this.ColumnMac.Name = "ColumnMac";
|
||||
this.ColumnMac.ReadOnly = true;
|
||||
//
|
||||
// ColumnLinkStatus
|
||||
//
|
||||
resources.ApplyResources(this.ColumnLinkStatus, "ColumnLinkStatus");
|
||||
this.ColumnLinkStatus.Name = "ColumnLinkStatus";
|
||||
this.ColumnLinkStatus.ReadOnly = true;
|
||||
//
|
||||
// ColumnSpeed
|
||||
//
|
||||
resources.ApplyResources(this.ColumnSpeed, "ColumnSpeed");
|
||||
this.ColumnSpeed.Name = "ColumnSpeed";
|
||||
this.ColumnSpeed.ReadOnly = true;
|
||||
//
|
||||
// ColumnDuplex
|
||||
//
|
||||
resources.ApplyResources(this.ColumnDuplex, "ColumnDuplex");
|
||||
this.ColumnDuplex.Name = "ColumnDuplex";
|
||||
this.ColumnDuplex.ReadOnly = true;
|
||||
//
|
||||
// ColumnVendor
|
||||
//
|
||||
resources.ApplyResources(this.ColumnVendor, "ColumnVendor");
|
||||
this.ColumnVendor.Name = "ColumnVendor";
|
||||
this.ColumnVendor.ReadOnly = true;
|
||||
//
|
||||
// ColumnDevice
|
||||
//
|
||||
resources.ApplyResources(this.ColumnDevice, "ColumnDevice");
|
||||
this.ColumnDevice.Name = "ColumnDevice";
|
||||
this.ColumnDevice.ReadOnly = true;
|
||||
//
|
||||
// ColumnPci
|
||||
//
|
||||
this.ColumnPci.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
||||
resources.ApplyResources(this.ColumnPci, "ColumnPci");
|
||||
this.ColumnPci.Name = "ColumnPci";
|
||||
this.ColumnPci.ReadOnly = true;
|
||||
//
|
||||
// BondDetails
|
||||
//
|
||||
resources.ApplyResources(this, "$this");
|
||||
@ -306,6 +331,9 @@ namespace XenAdmin.Controls
|
||||
((System.ComponentModel.ISupportInitialize)(this.numericUpDownMTU)).EndInit();
|
||||
this.tableLayoutPanel1.ResumeLayout(false);
|
||||
this.tableLayoutPanel1.PerformLayout();
|
||||
this.infoMtuPanel.ResumeLayout(false);
|
||||
this.infoMtuPanel.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit();
|
||||
this.panelLACPWarning.ResumeLayout(false);
|
||||
this.panelLACPWarning.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
|
||||
@ -351,5 +379,8 @@ namespace XenAdmin.Controls
|
||||
private System.Windows.Forms.Panel panelLACPWarning;
|
||||
private System.Windows.Forms.Label label1;
|
||||
private System.Windows.Forms.PictureBox pictureBox1;
|
||||
private System.Windows.Forms.Panel infoMtuPanel;
|
||||
private System.Windows.Forms.Label infoMtuMessage;
|
||||
private System.Windows.Forms.PictureBox pictureBox2;
|
||||
}
|
||||
}
|
||||
|
@ -158,7 +158,7 @@ namespace XenAdmin.Controls
|
||||
Connection = host.Connection;
|
||||
bondSizeLimit = Helpers.BondSizeLimit(Connection);
|
||||
PopulateDataGridView(NetworkingHelper.GetAllPhysicalPIFs(host));
|
||||
ConfigureMTUDropDown();
|
||||
SetDefaultBoundariesOfMtuDropDown();
|
||||
ShowHideControls();
|
||||
}
|
||||
|
||||
@ -167,7 +167,7 @@ namespace XenAdmin.Controls
|
||||
Connection = pool.Connection;
|
||||
bondSizeLimit = Helpers.BondSizeLimit(Connection);
|
||||
PopulateDataGridView(NetworkingHelper.GetAllPhysicalPIFs(pool));
|
||||
ConfigureMTUDropDown();
|
||||
SetDefaultBoundariesOfMtuDropDown();
|
||||
ShowHideControls();
|
||||
}
|
||||
|
||||
@ -341,21 +341,34 @@ namespace XenAdmin.Controls
|
||||
m_numberOfCheckedNics--;
|
||||
|
||||
UpdateCellsReadOnlyState();
|
||||
UpdateMTUDropDown();
|
||||
UpdateMtuControls();
|
||||
|
||||
SetValid();
|
||||
}
|
||||
|
||||
private void UpdateMTUDropDown()
|
||||
private void UpdateMtuControls()
|
||||
{
|
||||
numericUpDownMTU.Maximum = Math.Min(BondedPIFs.Select(p => p.MTU).DefaultIfEmpty(XenAPI.Network.MTU_MAX).Min(), XenAPI.Network.MTU_MAX);
|
||||
if (BondedPIFs.Count > 0)
|
||||
numericUpDownMTU.Maximum = Math.Min(BondedPIFs.Select(p => p.MTU).DefaultIfEmpty(XenAPI.Network.MTU_MAX).Min(), XenAPI.Network.MTU_MAX);
|
||||
else
|
||||
SetDefaultBoundariesOfMtuDropDown();
|
||||
|
||||
ShowOrHideMtuInfo();
|
||||
}
|
||||
|
||||
private void ConfigureMTUDropDown()
|
||||
private void SetDefaultBoundariesOfMtuDropDown()
|
||||
{
|
||||
numericUpDownMTU.Maximum = Math.Min(AllPIFs.Select(p => p.MTU).DefaultIfEmpty(XenAPI.Network.MTU_MAX).Max(), XenAPI.Network.MTU_MAX);
|
||||
numericUpDownMTU.Minimum = XenAPI.Network.MTU_MIN;
|
||||
|
||||
numericUpDownMTU.Value = XenAPI.Network.MTU_DEFAULT;
|
||||
|
||||
ShowOrHideMtuInfo();
|
||||
}
|
||||
|
||||
private void ShowOrHideMtuInfo()
|
||||
{
|
||||
numericUpDownMTU.Enabled = !(infoMtuPanel.Visible = numericUpDownMTU.Minimum == numericUpDownMTU.Maximum);
|
||||
}
|
||||
|
||||
private void BondMode_CheckedChanged(object sender, EventArgs e)
|
||||
|
@ -135,6 +135,108 @@
|
||||
<data name="tableLayoutPanel1.ColumnCount" type="System.Int32, mscorlib">
|
||||
<value>3</value>
|
||||
</data>
|
||||
<data name="infoMtuPanel.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
|
||||
<value>Bottom, Left</value>
|
||||
</data>
|
||||
<data name="infoMtuPanel.AutoSize" type="System.Boolean, mscorlib">
|
||||
<value>True</value>
|
||||
</data>
|
||||
<data name="infoMtuMessage.AutoSize" type="System.Boolean, mscorlib">
|
||||
<value>True</value>
|
||||
</data>
|
||||
<data name="infoMtuMessage.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
|
||||
<value>Fill</value>
|
||||
</data>
|
||||
<data name="infoMtuMessage.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
|
||||
<value>NoControl</value>
|
||||
</data>
|
||||
<data name="infoMtuMessage.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>16, 0</value>
|
||||
</data>
|
||||
<data name="infoMtuMessage.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
|
||||
<value>0, 0, 0, 0</value>
|
||||
</data>
|
||||
<data name="infoMtuMessage.Padding" type="System.Windows.Forms.Padding, System.Windows.Forms">
|
||||
<value>3, 2, 0, 0</value>
|
||||
</data>
|
||||
<data name="infoMtuMessage.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>148, 15</value>
|
||||
</data>
|
||||
<data name="infoMtuMessage.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>0</value>
|
||||
</data>
|
||||
<data name="infoMtuMessage.Text" xml:space="preserve">
|
||||
<value>This value cannot be altered.</value>
|
||||
</data>
|
||||
<data name=">>infoMtuMessage.Name" xml:space="preserve">
|
||||
<value>infoMtuMessage</value>
|
||||
</data>
|
||||
<data name=">>infoMtuMessage.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=">>infoMtuMessage.Parent" xml:space="preserve">
|
||||
<value>infoMtuPanel</value>
|
||||
</data>
|
||||
<data name=">>infoMtuMessage.ZOrder" xml:space="preserve">
|
||||
<value>0</value>
|
||||
</data>
|
||||
<data name="pictureBox2.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
|
||||
<value>Left</value>
|
||||
</data>
|
||||
<data name="pictureBox2.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
|
||||
<value>NoControl</value>
|
||||
</data>
|
||||
<data name="pictureBox2.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>0, 0</value>
|
||||
</data>
|
||||
<data name="pictureBox2.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>16, 15</value>
|
||||
</data>
|
||||
<data name="pictureBox2.SizeMode" type="System.Windows.Forms.PictureBoxSizeMode, System.Windows.Forms">
|
||||
<value>AutoSize</value>
|
||||
</data>
|
||||
<data name="pictureBox2.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>0</value>
|
||||
</data>
|
||||
<data name=">>pictureBox2.Name" xml:space="preserve">
|
||||
<value>pictureBox2</value>
|
||||
</data>
|
||||
<data name=">>pictureBox2.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.PictureBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>pictureBox2.Parent" xml:space="preserve">
|
||||
<value>infoMtuPanel</value>
|
||||
</data>
|
||||
<data name=">>pictureBox2.ZOrder" xml:space="preserve">
|
||||
<value>1</value>
|
||||
</data>
|
||||
<data name="infoMtuPanel.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>169, 248</value>
|
||||
</data>
|
||||
<data name="infoMtuPanel.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
|
||||
<value>6, 0, 0, 2</value>
|
||||
</data>
|
||||
<data name="infoMtuPanel.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>164, 15</value>
|
||||
</data>
|
||||
<data name="infoMtuPanel.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>6</value>
|
||||
</data>
|
||||
<data name="infoMtuPanel.Visible" type="System.Boolean, mscorlib">
|
||||
<value>False</value>
|
||||
</data>
|
||||
<data name=">>infoMtuPanel.Name" xml:space="preserve">
|
||||
<value>infoMtuPanel</value>
|
||||
</data>
|
||||
<data name=">>infoMtuPanel.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.Panel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>infoMtuPanel.Parent" xml:space="preserve">
|
||||
<value>tableLayoutPanel1</value>
|
||||
</data>
|
||||
<data name=">>infoMtuPanel.ZOrder" xml:space="preserve">
|
||||
<value>0</value>
|
||||
</data>
|
||||
<data name="panelLACPWarning.AutoSize" type="System.Boolean, mscorlib">
|
||||
<value>True</value>
|
||||
</data>
|
||||
@ -211,7 +313,7 @@
|
||||
<value>Fill</value>
|
||||
</data>
|
||||
<data name="panelLACPWarning.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>6, 239</value>
|
||||
<value>6, 219</value>
|
||||
</data>
|
||||
<data name="panelLACPWarning.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
|
||||
<value>6, 0, 0, 2</value>
|
||||
@ -235,10 +337,10 @@
|
||||
<value>tableLayoutPanel1</value>
|
||||
</data>
|
||||
<data name=">>panelLACPWarning.ZOrder" xml:space="preserve">
|
||||
<value>0</value>
|
||||
<value>1</value>
|
||||
</data>
|
||||
<data name="numericUpDownMTU.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>40, 262</value>
|
||||
<value>40, 242</value>
|
||||
</data>
|
||||
<data name="numericUpDownMTU.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>120, 20</value>
|
||||
@ -256,7 +358,7 @@
|
||||
<value>tableLayoutPanel1</value>
|
||||
</data>
|
||||
<data name=">>numericUpDownMTU.ZOrder" xml:space="preserve">
|
||||
<value>1</value>
|
||||
<value>2</value>
|
||||
</data>
|
||||
<data name="dataGridView1.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
|
||||
<value>Top, Bottom, Left, Right</value>
|
||||
@ -346,7 +448,7 @@
|
||||
<value>0, 0, 0, 0</value>
|
||||
</data>
|
||||
<data name="dataGridView1.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>602, 119</value>
|
||||
<value>602, 99</value>
|
||||
</data>
|
||||
<data name="dataGridView1.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>0</value>
|
||||
@ -361,7 +463,7 @@
|
||||
<value>tableLayoutPanel1</value>
|
||||
</data>
|
||||
<data name=">>dataGridView1.ZOrder" xml:space="preserve">
|
||||
<value>2</value>
|
||||
<value>3</value>
|
||||
</data>
|
||||
<data name="labelMTU.AutoSize" type="System.Boolean, mscorlib">
|
||||
<value>True</value>
|
||||
@ -373,7 +475,7 @@
|
||||
<value>NoControl</value>
|
||||
</data>
|
||||
<data name="labelMTU.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>0, 265</value>
|
||||
<value>0, 245</value>
|
||||
</data>
|
||||
<data name="labelMTU.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
|
||||
<value>0, 6, 3, 0</value>
|
||||
@ -397,7 +499,7 @@
|
||||
<value>tableLayoutPanel1</value>
|
||||
</data>
|
||||
<data name=">>labelMTU.ZOrder" xml:space="preserve">
|
||||
<value>4</value>
|
||||
<value>5</value>
|
||||
</data>
|
||||
<data name="groupBoxBondMode.AutoSize" type="System.Boolean, mscorlib">
|
||||
<value>True</value>
|
||||
@ -550,7 +652,7 @@
|
||||
<value>4</value>
|
||||
</data>
|
||||
<data name="tableLayoutPanelBondMode.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>376, 92</value>
|
||||
<value>583, 92</value>
|
||||
</data>
|
||||
<data name="tableLayoutPanelBondMode.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>0</value>
|
||||
@ -574,7 +676,7 @@
|
||||
<value>Fill</value>
|
||||
</data>
|
||||
<data name="groupBoxBondMode.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>3, 125</value>
|
||||
<value>3, 105</value>
|
||||
</data>
|
||||
<data name="groupBoxBondMode.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
|
||||
<value>3, 6, 3, 3</value>
|
||||
@ -583,7 +685,7 @@
|
||||
<value>3, 3, 10, 3</value>
|
||||
</data>
|
||||
<data name="groupBoxBondMode.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>389, 111</value>
|
||||
<value>596, 111</value>
|
||||
</data>
|
||||
<data name="groupBoxBondMode.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>1</value>
|
||||
@ -601,7 +703,7 @@
|
||||
<value>tableLayoutPanel1</value>
|
||||
</data>
|
||||
<data name=">>groupBoxBondMode.ZOrder" xml:space="preserve">
|
||||
<value>5</value>
|
||||
<value>6</value>
|
||||
</data>
|
||||
<data name="tableLayoutPanel1.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
|
||||
<value>Fill</value>
|
||||
@ -610,7 +712,7 @@
|
||||
<value>0, 0</value>
|
||||
</data>
|
||||
<data name="tableLayoutPanel1.RowCount" type="System.Int32, mscorlib">
|
||||
<value>5</value>
|
||||
<value>6</value>
|
||||
</data>
|
||||
<data name="tableLayoutPanel1.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>602, 311</value>
|
||||
@ -631,13 +733,13 @@
|
||||
<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="panelLACPWarning" Row="1" RowSpan="1" Column="0" ColumnSpan="3" /><Control Name="numericUpDownMTU" Row="3" RowSpan="1" Column="1" ColumnSpan="1" /><Control Name="dataGridView1" Row="0" RowSpan="1" Column="0" ColumnSpan="3" /><Control Name="cbxAutomatic" Row="4" RowSpan="1" Column="0" ColumnSpan="3" /><Control Name="labelMTU" Row="3" RowSpan="1" Column="0" ColumnSpan="1" /><Control Name="groupBoxBondMode" Row="1" RowSpan="1" Column="0" ColumnSpan="2" /></Controls><Columns Styles="AutoSize,0,AutoSize,0,Percent,100" /><Rows Styles="Percent,100,AutoSize,0,Absolute,20,AutoSize,0,AutoSize,0" /></TableLayoutSettings></value>
|
||||
<value><?xml version="1.0" encoding="utf-16"?><TableLayoutSettings><Controls><Control Name="infoMtuPanel" Row="3" RowSpan="1" Column="3" ColumnSpan="1" /><Control Name="panelLACPWarning" Row="1" RowSpan="1" Column="0" ColumnSpan="3" /><Control Name="numericUpDownMTU" Row="3" RowSpan="1" Column="1" ColumnSpan="1" /><Control Name="dataGridView1" Row="0" RowSpan="1" Column="0" ColumnSpan="3" /><Control Name="cbxAutomatic" Row="4" RowSpan="1" Column="0" ColumnSpan="3" /><Control Name="labelMTU" Row="3" RowSpan="1" Column="0" ColumnSpan="1" /><Control Name="groupBoxBondMode" Row="1" RowSpan="1" Column="0" ColumnSpan="3" /></Controls><Columns Styles="AutoSize,0,AutoSize,0,Percent,100" /><Rows Styles="Percent,100,AutoSize,0,Absolute,20,AutoSize,0,AutoSize,0,Absolute,20,Absolute,20" /></TableLayoutSettings></value>
|
||||
</data>
|
||||
<data name="cbxAutomatic.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
|
||||
<value>NoControl</value>
|
||||
</data>
|
||||
<data name="cbxAutomatic.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>3, 294</value>
|
||||
<value>3, 274</value>
|
||||
</data>
|
||||
<data name="cbxAutomatic.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
|
||||
<value>3, 9, 0, 0</value>
|
||||
@ -664,7 +766,7 @@
|
||||
<value>tableLayoutPanel1</value>
|
||||
</data>
|
||||
<data name=">>cbxAutomatic.ZOrder" xml:space="preserve">
|
||||
<value>3</value>
|
||||
<value>4</value>
|
||||
</data>
|
||||
<data name="dataGridViewTextBoxColumn1.HeaderText" xml:space="preserve">
|
||||
<value>NIC</value>
|
||||
@ -726,54 +828,6 @@
|
||||
<data name=">>ColumnCheckBox.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.DataGridViewCheckBoxColumn, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>ColumnNic.Name" xml:space="preserve">
|
||||
<value>ColumnNic</value>
|
||||
</data>
|
||||
<data name=">>ColumnNic.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.DataGridViewTextBoxColumn, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>ColumnMac.Name" xml:space="preserve">
|
||||
<value>ColumnMac</value>
|
||||
</data>
|
||||
<data name=">>ColumnMac.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.DataGridViewTextBoxColumn, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>ColumnLinkStatus.Name" xml:space="preserve">
|
||||
<value>ColumnLinkStatus</value>
|
||||
</data>
|
||||
<data name=">>ColumnLinkStatus.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.DataGridViewTextBoxColumn, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>ColumnSpeed.Name" xml:space="preserve">
|
||||
<value>ColumnSpeed</value>
|
||||
</data>
|
||||
<data name=">>ColumnSpeed.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.DataGridViewTextBoxColumn, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>ColumnDuplex.Name" xml:space="preserve">
|
||||
<value>ColumnDuplex</value>
|
||||
</data>
|
||||
<data name=">>ColumnDuplex.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.DataGridViewTextBoxColumn, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>ColumnVendor.Name" xml:space="preserve">
|
||||
<value>ColumnVendor</value>
|
||||
</data>
|
||||
<data name=">>ColumnVendor.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.DataGridViewTextBoxColumn, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>ColumnDevice.Name" xml:space="preserve">
|
||||
<value>ColumnDevice</value>
|
||||
</data>
|
||||
<data name=">>ColumnDevice.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.DataGridViewTextBoxColumn, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>ColumnPci.Name" xml:space="preserve">
|
||||
<value>ColumnPci</value>
|
||||
</data>
|
||||
<data name=">>ColumnPci.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.DataGridViewTextBoxColumn, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>dataGridViewTextBoxColumn1.Name" xml:space="preserve">
|
||||
<value>dataGridViewTextBoxColumn1</value>
|
||||
</data>
|
||||
@ -822,6 +876,54 @@
|
||||
<data name=">>dataGridViewTextBoxColumn8.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.DataGridViewTextBoxColumn, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>ColumnNic.Name" xml:space="preserve">
|
||||
<value>ColumnNic</value>
|
||||
</data>
|
||||
<data name=">>ColumnNic.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.DataGridViewTextBoxColumn, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>ColumnMac.Name" xml:space="preserve">
|
||||
<value>ColumnMac</value>
|
||||
</data>
|
||||
<data name=">>ColumnMac.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.DataGridViewTextBoxColumn, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>ColumnLinkStatus.Name" xml:space="preserve">
|
||||
<value>ColumnLinkStatus</value>
|
||||
</data>
|
||||
<data name=">>ColumnLinkStatus.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.DataGridViewTextBoxColumn, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>ColumnSpeed.Name" xml:space="preserve">
|
||||
<value>ColumnSpeed</value>
|
||||
</data>
|
||||
<data name=">>ColumnSpeed.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.DataGridViewTextBoxColumn, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>ColumnDuplex.Name" xml:space="preserve">
|
||||
<value>ColumnDuplex</value>
|
||||
</data>
|
||||
<data name=">>ColumnDuplex.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.DataGridViewTextBoxColumn, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>ColumnVendor.Name" xml:space="preserve">
|
||||
<value>ColumnVendor</value>
|
||||
</data>
|
||||
<data name=">>ColumnVendor.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.DataGridViewTextBoxColumn, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>ColumnDevice.Name" xml:space="preserve">
|
||||
<value>ColumnDevice</value>
|
||||
</data>
|
||||
<data name=">>ColumnDevice.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.DataGridViewTextBoxColumn, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>ColumnPci.Name" xml:space="preserve">
|
||||
<value>ColumnPci</value>
|
||||
</data>
|
||||
<data name=">>ColumnPci.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.DataGridViewTextBoxColumn, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>$this.Name" xml:space="preserve">
|
||||
<value>BondDetails</value>
|
||||
</data>
|
||||
|
@ -31,6 +31,9 @@ namespace XenAdmin.Wizards.NewNetworkWizard_Pages
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(NetWDetails));
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
||||
this.infoMtuPanel = new System.Windows.Forms.Panel();
|
||||
this.infoMtuMessage = new System.Windows.Forms.Label();
|
||||
this.pictureBox2 = new System.Windows.Forms.PictureBox();
|
||||
this.labelNIC = new System.Windows.Forms.Label();
|
||||
this.labelVLAN = new System.Windows.Forms.Label();
|
||||
this.lblNicHelp = new System.Windows.Forms.Label();
|
||||
@ -44,6 +47,8 @@ namespace XenAdmin.Wizards.NewNetworkWizard_Pages
|
||||
this.labelVLAN0Info = new System.Windows.Forms.Label();
|
||||
this.panel1.SuspendLayout();
|
||||
this.tableLayoutPanel1.SuspendLayout();
|
||||
this.infoMtuPanel.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numericUpDownVLAN)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numericUpDownMTU)).BeginInit();
|
||||
this.panelVLANInfo.SuspendLayout();
|
||||
@ -59,6 +64,7 @@ namespace XenAdmin.Wizards.NewNetworkWizard_Pages
|
||||
// tableLayoutPanel1
|
||||
//
|
||||
resources.ApplyResources(this.tableLayoutPanel1, "tableLayoutPanel1");
|
||||
this.tableLayoutPanel1.Controls.Add(this.infoMtuPanel, 2, 3);
|
||||
this.tableLayoutPanel1.Controls.Add(this.labelNIC, 0, 1);
|
||||
this.tableLayoutPanel1.Controls.Add(this.labelVLAN, 0, 2);
|
||||
this.tableLayoutPanel1.Controls.Add(this.lblNicHelp, 0, 0);
|
||||
@ -70,6 +76,26 @@ namespace XenAdmin.Wizards.NewNetworkWizard_Pages
|
||||
this.tableLayoutPanel1.Controls.Add(this.panelVLANInfo, 2, 2);
|
||||
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
|
||||
//
|
||||
// infoMtuPanel
|
||||
//
|
||||
resources.ApplyResources(this.infoMtuPanel, "infoMtuPanel");
|
||||
this.tableLayoutPanel1.SetColumnSpan(this.infoMtuPanel, 2);
|
||||
this.infoMtuPanel.Controls.Add(this.infoMtuMessage);
|
||||
this.infoMtuPanel.Controls.Add(this.pictureBox2);
|
||||
this.infoMtuPanel.Name = "infoMtuPanel";
|
||||
//
|
||||
// infoMtuMessage
|
||||
//
|
||||
resources.ApplyResources(this.infoMtuMessage, "infoMtuMessage");
|
||||
this.infoMtuMessage.Name = "infoMtuMessage";
|
||||
//
|
||||
// pictureBox2
|
||||
//
|
||||
resources.ApplyResources(this.pictureBox2, "pictureBox2");
|
||||
this.pictureBox2.Image = global::XenAdmin.Properties.Resources._000_Info3_h32bit_16;
|
||||
this.pictureBox2.Name = "pictureBox2";
|
||||
this.pictureBox2.TabStop = false;
|
||||
//
|
||||
// labelNIC
|
||||
//
|
||||
resources.ApplyResources(this.labelNIC, "labelNIC");
|
||||
@ -165,6 +191,9 @@ namespace XenAdmin.Wizards.NewNetworkWizard_Pages
|
||||
this.panel1.ResumeLayout(false);
|
||||
this.tableLayoutPanel1.ResumeLayout(false);
|
||||
this.tableLayoutPanel1.PerformLayout();
|
||||
this.infoMtuPanel.ResumeLayout(false);
|
||||
this.infoMtuPanel.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numericUpDownVLAN)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numericUpDownMTU)).EndInit();
|
||||
this.panelVLANInfo.ResumeLayout(false);
|
||||
@ -188,5 +217,8 @@ namespace XenAdmin.Wizards.NewNetworkWizard_Pages
|
||||
private System.Windows.Forms.NumericUpDown numericUpDownMTU;
|
||||
private System.Windows.Forms.Panel panelVLANInfo;
|
||||
private System.Windows.Forms.Label labelVLAN0Info;
|
||||
private System.Windows.Forms.Panel infoMtuPanel;
|
||||
private System.Windows.Forms.Label infoMtuMessage;
|
||||
private System.Windows.Forms.PictureBox pictureBox2;
|
||||
}
|
||||
}
|
||||
|
@ -197,6 +197,8 @@ namespace XenAdmin.Wizards.NewNetworkWizard_Pages
|
||||
|
||||
numericUpDownMTU.Maximum = Math.Min(SelectedHostNic.MTU, XenAPI.Network.MTU_MAX);
|
||||
|
||||
numericUpDownMTU.Enabled = !(infoMtuPanel.Visible = numericUpDownMTU.Minimum == numericUpDownMTU.Maximum);
|
||||
|
||||
vlans = GetVLANList(SelectedHostNic);
|
||||
|
||||
//CA-72484: check whether the currently selected VLAN is available and keep it
|
||||
|
@ -125,6 +125,109 @@
|
||||
<data name="tableLayoutPanel1.ColumnCount" type="System.Int32, mscorlib">
|
||||
<value>4</value>
|
||||
</data>
|
||||
<data name="infoMtuPanel.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
|
||||
<value>Left</value>
|
||||
</data>
|
||||
<data name="infoMtuPanel.AutoSize" type="System.Boolean, mscorlib">
|
||||
<value>True</value>
|
||||
</data>
|
||||
<data name="infoMtuMessage.AutoSize" type="System.Boolean, mscorlib">
|
||||
<value>True</value>
|
||||
</data>
|
||||
<data name="infoMtuMessage.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
|
||||
<value>Fill</value>
|
||||
</data>
|
||||
<data name="infoMtuMessage.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="infoMtuMessage.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>16, 0</value>
|
||||
</data>
|
||||
<data name="infoMtuMessage.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
|
||||
<value>0, 0, 0, 0</value>
|
||||
</data>
|
||||
<data name="infoMtuMessage.Padding" type="System.Windows.Forms.Padding, System.Windows.Forms">
|
||||
<value>3, 2, 0, 0</value>
|
||||
</data>
|
||||
<data name="infoMtuMessage.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>294, 15</value>
|
||||
</data>
|
||||
<data name="infoMtuMessage.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>0</value>
|
||||
</data>
|
||||
<data name="infoMtuMessage.Text" xml:space="preserve">
|
||||
<value>MTU cannot be changed (the only valid value is already set)</value>
|
||||
</data>
|
||||
<data name=">>infoMtuMessage.Name" xml:space="preserve">
|
||||
<value>infoMtuMessage</value>
|
||||
</data>
|
||||
<data name=">>infoMtuMessage.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=">>infoMtuMessage.Parent" xml:space="preserve">
|
||||
<value>infoMtuPanel</value>
|
||||
</data>
|
||||
<data name=">>infoMtuMessage.ZOrder" xml:space="preserve">
|
||||
<value>0</value>
|
||||
</data>
|
||||
<data name="pictureBox2.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
|
||||
<value>Left</value>
|
||||
</data>
|
||||
<data name="pictureBox2.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
|
||||
<value>NoControl</value>
|
||||
</data>
|
||||
<data name="pictureBox2.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>0, 0</value>
|
||||
</data>
|
||||
<data name="pictureBox2.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>16, 15</value>
|
||||
</data>
|
||||
<data name="pictureBox2.SizeMode" type="System.Windows.Forms.PictureBoxSizeMode, System.Windows.Forms">
|
||||
<value>AutoSize</value>
|
||||
</data>
|
||||
<data name="pictureBox2.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>0</value>
|
||||
</data>
|
||||
<data name=">>pictureBox2.Name" xml:space="preserve">
|
||||
<value>pictureBox2</value>
|
||||
</data>
|
||||
<data name=">>pictureBox2.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.PictureBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>pictureBox2.Parent" xml:space="preserve">
|
||||
<value>infoMtuPanel</value>
|
||||
</data>
|
||||
<data name=">>pictureBox2.ZOrder" xml:space="preserve">
|
||||
<value>1</value>
|
||||
</data>
|
||||
<data name="infoMtuPanel.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>164, 136</value>
|
||||
</data>
|
||||
<data name="infoMtuPanel.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
|
||||
<value>6, 0, 0, 2</value>
|
||||
</data>
|
||||
<data name="infoMtuPanel.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>310, 15</value>
|
||||
</data>
|
||||
<data name="infoMtuPanel.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>17</value>
|
||||
</data>
|
||||
<data name="infoMtuPanel.Visible" type="System.Boolean, mscorlib">
|
||||
<value>False</value>
|
||||
</data>
|
||||
<data name=">>infoMtuPanel.Name" xml:space="preserve">
|
||||
<value>infoMtuPanel</value>
|
||||
</data>
|
||||
<data name=">>infoMtuPanel.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.Panel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>infoMtuPanel.Parent" xml:space="preserve">
|
||||
<value>tableLayoutPanel1</value>
|
||||
</data>
|
||||
<data name=">>infoMtuPanel.ZOrder" xml:space="preserve">
|
||||
<value>0</value>
|
||||
</data>
|
||||
<data name="labelNIC.AutoSize" type="System.Boolean, mscorlib">
|
||||
<value>True</value>
|
||||
</data>
|
||||
@ -134,7 +237,6 @@
|
||||
<data name="labelNIC.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="labelNIC.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>0, 72</value>
|
||||
</data>
|
||||
@ -163,7 +265,7 @@
|
||||
<value>tableLayoutPanel1</value>
|
||||
</data>
|
||||
<data name=">>labelNIC.ZOrder" xml:space="preserve">
|
||||
<value>0</value>
|
||||
<value>1</value>
|
||||
</data>
|
||||
<data name="labelVLAN.AutoSize" type="System.Boolean, mscorlib">
|
||||
<value>True</value>
|
||||
@ -199,7 +301,7 @@
|
||||
<value>tableLayoutPanel1</value>
|
||||
</data>
|
||||
<data name=">>labelVLAN.ZOrder" xml:space="preserve">
|
||||
<value>1</value>
|
||||
<value>2</value>
|
||||
</data>
|
||||
<data name="lblNicHelp.AutoSize" type="System.Boolean, mscorlib">
|
||||
<value>True</value>
|
||||
@ -241,7 +343,7 @@ Select the physical interface you would like to use:</value>
|
||||
<value>tableLayoutPanel1</value>
|
||||
</data>
|
||||
<data name=">>lblNicHelp.ZOrder" xml:space="preserve">
|
||||
<value>2</value>
|
||||
<value>3</value>
|
||||
</data>
|
||||
<data name="numericUpDownVLAN.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>41, 108</value>
|
||||
@ -265,7 +367,7 @@ Select the physical interface you would like to use:</value>
|
||||
<value>tableLayoutPanel1</value>
|
||||
</data>
|
||||
<data name=">>numericUpDownVLAN.ZOrder" xml:space="preserve">
|
||||
<value>3</value>
|
||||
<value>4</value>
|
||||
</data>
|
||||
<data name="comboBoxNICList.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>41, 75</value>
|
||||
@ -286,7 +388,7 @@ Select the physical interface you would like to use:</value>
|
||||
<value>tableLayoutPanel1</value>
|
||||
</data>
|
||||
<data name=">>comboBoxNICList.ZOrder" xml:space="preserve">
|
||||
<value>4</value>
|
||||
<value>5</value>
|
||||
</data>
|
||||
<data name="checkBoxAutomatic.AutoSize" type="System.Boolean, mscorlib">
|
||||
<value>True</value>
|
||||
@ -325,7 +427,7 @@ Select the physical interface you would like to use:</value>
|
||||
<value>tableLayoutPanel1</value>
|
||||
</data>
|
||||
<data name=">>checkBoxAutomatic.ZOrder" xml:space="preserve">
|
||||
<value>5</value>
|
||||
<value>6</value>
|
||||
</data>
|
||||
<data name="labelMTU.AutoSize" type="System.Boolean, mscorlib">
|
||||
<value>True</value>
|
||||
@ -358,7 +460,7 @@ Select the physical interface you would like to use:</value>
|
||||
<value>tableLayoutPanel1</value>
|
||||
</data>
|
||||
<data name=">>labelMTU.ZOrder" xml:space="preserve">
|
||||
<value>6</value>
|
||||
<value>7</value>
|
||||
</data>
|
||||
<data name="numericUpDownMTU.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>41, 135</value>
|
||||
@ -382,7 +484,7 @@ Select the physical interface you would like to use:</value>
|
||||
<value>tableLayoutPanel1</value>
|
||||
</data>
|
||||
<data name=">>numericUpDownMTU.ZOrder" xml:space="preserve">
|
||||
<value>7</value>
|
||||
<value>8</value>
|
||||
</data>
|
||||
<data name="panelVLANInfo.AutoSize" type="System.Boolean, mscorlib">
|
||||
<value>True</value>
|
||||
@ -502,7 +604,7 @@ Select the physical interface you would like to use:</value>
|
||||
<value>tableLayoutPanel1</value>
|
||||
</data>
|
||||
<data name=">>panelVLANInfo.ZOrder" xml:space="preserve">
|
||||
<value>8</value>
|
||||
<value>9</value>
|
||||
</data>
|
||||
<data name="tableLayoutPanel1.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
|
||||
<value>Fill</value>
|
||||
@ -532,7 +634,7 @@ Select the physical interface you would like to use:</value>
|
||||
<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="labelNIC" Row="1" RowSpan="1" Column="0" ColumnSpan="1" /><Control Name="labelVLAN" Row="2" RowSpan="1" Column="0" ColumnSpan="1" /><Control Name="lblNicHelp" Row="0" RowSpan="1" Column="0" ColumnSpan="4" /><Control Name="numericUpDownVLAN" Row="2" RowSpan="1" Column="1" ColumnSpan="1" /><Control Name="comboBoxNICList" Row="1" RowSpan="1" Column="1" ColumnSpan="2" /><Control Name="checkBoxAutomatic" Row="4" RowSpan="1" Column="0" ColumnSpan="4" /><Control Name="labelMTU" Row="3" RowSpan="1" Column="0" ColumnSpan="1" /><Control Name="numericUpDownMTU" Row="3" RowSpan="1" Column="1" ColumnSpan="1" /><Control Name="panelVLANInfo" Row="2" RowSpan="1" Column="2" ColumnSpan="2" /></Controls><Columns Styles="AutoSize,0,Absolute,120,Absolute,127,Percent,100" /><Rows Styles="AutoSize,0,AutoSize,0,AutoSize,0,AutoSize,0,AutoSize,20,Percent,100" /></TableLayoutSettings></value>
|
||||
<value><?xml version="1.0" encoding="utf-16"?><TableLayoutSettings><Controls><Control Name="infoMtuPanel" Row="3" RowSpan="1" Column="2" ColumnSpan="2" /><Control Name="labelNIC" Row="1" RowSpan="1" Column="0" ColumnSpan="1" /><Control Name="labelVLAN" Row="2" RowSpan="1" Column="0" ColumnSpan="1" /><Control Name="lblNicHelp" Row="0" RowSpan="1" Column="0" ColumnSpan="4" /><Control Name="numericUpDownVLAN" Row="2" RowSpan="1" Column="1" ColumnSpan="1" /><Control Name="comboBoxNICList" Row="1" RowSpan="1" Column="1" ColumnSpan="2" /><Control Name="checkBoxAutomatic" Row="4" RowSpan="1" Column="0" ColumnSpan="4" /><Control Name="labelMTU" Row="3" RowSpan="1" Column="0" ColumnSpan="1" /><Control Name="numericUpDownMTU" Row="3" RowSpan="1" Column="1" ColumnSpan="1" /><Control Name="panelVLANInfo" Row="2" RowSpan="1" Column="2" ColumnSpan="2" /></Controls><Columns Styles="AutoSize,0,Absolute,120,Absolute,127,Percent,100" /><Rows Styles="AutoSize,0,AutoSize,0,AutoSize,0,AutoSize,0,AutoSize,20,Percent,100" /></TableLayoutSettings></value>
|
||||
</data>
|
||||
<data name="panel1.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>0, 0</value>
|
||||
|
Loading…
Reference in New Issue
Block a user