Merge pull request #141 from xcp-ng/feature-switch-pv-hvm

Feature switch pv hvm
This commit is contained in:
Alexander Schulz 2019-02-09 16:57:44 +01:00 committed by GitHub
commit b1fe856217
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 184 additions and 56 deletions

View File

@ -32,17 +32,19 @@ namespace XenAdmin.SettingsPanels
this.m_textBoxOsParams = new System.Windows.Forms.TextBox();
this.label3 = new System.Windows.Forms.Label();
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
this.m_autoHeightLabelHvm = new XenAdmin.Controls.Common.AutoHeightLabel();
this.m_autoHeightLabelNonHvm = new XenAdmin.Controls.Common.AutoHeightLabel();
this.m_tlpHvm = new System.Windows.Forms.TableLayoutPanel();
this.label1 = new System.Windows.Forms.Label();
this.m_buttonUp = new System.Windows.Forms.Button();
this.m_buttonDown = new System.Windows.Forms.Button();
this.m_checkedListBox = new System.Windows.Forms.CheckedListBox();
this.m_buttonConvertToPV = new System.Windows.Forms.Button();
this.m_tlpNonHvm = new System.Windows.Forms.TableLayoutPanel();
this.label2 = new System.Windows.Forms.Label();
this.m_comboBoxBootDevice = new System.Windows.Forms.ComboBox();
this.m_buttonConvertToHVM = new System.Windows.Forms.Button();
this.m_checkBoxAutoBoot = new System.Windows.Forms.CheckBox();
this.m_autoHeightLabelHvm = new XenAdmin.Controls.Common.AutoHeightLabel();
this.m_autoHeightLabelNonHvm = new XenAdmin.Controls.Common.AutoHeightLabel();
this.tableLayoutPanel1.SuspendLayout();
this.m_tlpHvm.SuspendLayout();
this.m_tlpNonHvm.SuspendLayout();
@ -63,23 +65,11 @@ namespace XenAdmin.SettingsPanels
resources.ApplyResources(this.tableLayoutPanel1, "tableLayoutPanel1");
this.tableLayoutPanel1.Controls.Add(this.m_autoHeightLabelHvm, 0, 0);
this.tableLayoutPanel1.Controls.Add(this.m_autoHeightLabelNonHvm, 0, 1);
this.tableLayoutPanel1.Controls.Add(this.m_tlpHvm, 0, 3);
this.tableLayoutPanel1.Controls.Add(this.m_tlpNonHvm, 0, 4);
this.tableLayoutPanel1.Controls.Add(this.m_checkBoxAutoBoot, 0, 3);
this.tableLayoutPanel1.Controls.Add(this.m_tlpHvm, 0, 4);
this.tableLayoutPanel1.Controls.Add(this.m_tlpNonHvm, 0, 5);
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
//
// m_autoHeightLabelHvm
//
resources.ApplyResources(this.m_autoHeightLabelHvm, "m_autoHeightLabelHvm");
this.tableLayoutPanel1.SetColumnSpan(this.m_autoHeightLabelHvm, 4);
this.m_autoHeightLabelHvm.Name = "m_autoHeightLabelHvm";
//
// m_autoHeightLabelNonHvm
//
resources.ApplyResources(this.m_autoHeightLabelNonHvm, "m_autoHeightLabelNonHvm");
this.tableLayoutPanel1.SetColumnSpan(this.m_autoHeightLabelNonHvm, 3);
this.m_autoHeightLabelNonHvm.Name = "m_autoHeightLabelNonHvm";
//
// m_tlpHvm
//
resources.ApplyResources(this.m_tlpHvm, "m_tlpHvm");
@ -87,6 +77,7 @@ namespace XenAdmin.SettingsPanels
this.m_tlpHvm.Controls.Add(this.m_buttonUp, 2, 0);
this.m_tlpHvm.Controls.Add(this.m_buttonDown, 2, 1);
this.m_tlpHvm.Controls.Add(this.m_checkedListBox, 1, 0);
this.m_tlpHvm.Controls.Add(this.m_buttonConvertToPV, 0, 4);
this.m_tlpHvm.Name = "m_tlpHvm";
//
// label1
@ -116,6 +107,13 @@ namespace XenAdmin.SettingsPanels
this.m_tlpHvm.SetRowSpan(this.m_checkedListBox, 3);
this.m_checkedListBox.SelectedIndexChanged += new System.EventHandler(this.m_checkedListBox_SelectedIndexChanged);
//
// m_buttonConvertToPV
//
resources.ApplyResources(this.m_buttonConvertToPV, "m_buttonConvertToPV");
this.m_buttonConvertToPV.Name = "m_buttonConvertToPV";
this.m_buttonConvertToPV.UseVisualStyleBackColor = true;
this.m_buttonConvertToPV.Click += new System.EventHandler(this.m_buttonConvertToPV_Click);
//
// m_tlpNonHvm
//
resources.ApplyResources(this.m_tlpNonHvm, "m_tlpNonHvm");
@ -123,6 +121,7 @@ namespace XenAdmin.SettingsPanels
this.m_tlpNonHvm.Controls.Add(this.m_textBoxOsParams, 1, 2);
this.m_tlpNonHvm.Controls.Add(this.label2, 0, 0);
this.m_tlpNonHvm.Controls.Add(this.m_comboBoxBootDevice, 1, 0);
this.m_tlpNonHvm.Controls.Add(this.m_buttonConvertToHVM, 0, 4);
this.m_tlpNonHvm.Name = "m_tlpNonHvm";
//
// label2
@ -138,12 +137,32 @@ namespace XenAdmin.SettingsPanels
this.m_comboBoxBootDevice.Name = "m_comboBoxBootDevice";
this.m_comboBoxBootDevice.SelectedIndexChanged += new System.EventHandler(this.m_comboBoxBootDevice_SelectedIndexChanged);
//
// m_buttonConvertToHVM
//
resources.ApplyResources(this.m_buttonConvertToHVM, "m_buttonConvertToHVM");
this.m_buttonConvertToHVM.Name = "m_buttonConvertToHVM";
this.m_buttonConvertToHVM.UseVisualStyleBackColor = true;
this.m_buttonConvertToHVM.Click += new System.EventHandler(this.m_buttonConvertToHVM_Click);
//
// m_checkBoxAutoBoot
//
this.tableLayoutPanel1.SetColumnSpan(this.m_checkBoxAutoBoot, 2);
resources.ApplyResources(this.m_checkBoxAutoBoot, "m_checkBoxAutoBoot");
this.m_checkBoxAutoBoot.Name = "m_checkBoxAutoBoot";
this.m_checkBoxAutoBoot.UseVisualStyleBackColor = true;
//
// m_autoHeightLabelHvm
//
resources.ApplyResources(this.m_autoHeightLabelHvm, "m_autoHeightLabelHvm");
this.tableLayoutPanel1.SetColumnSpan(this.m_autoHeightLabelHvm, 4);
this.m_autoHeightLabelHvm.Name = "m_autoHeightLabelHvm";
//
// m_autoHeightLabelNonHvm
//
resources.ApplyResources(this.m_autoHeightLabelNonHvm, "m_autoHeightLabelNonHvm");
this.tableLayoutPanel1.SetColumnSpan(this.m_autoHeightLabelNonHvm, 3);
this.m_autoHeightLabelNonHvm.Name = "m_autoHeightLabelNonHvm";
//
// BootOptionsEditPage
//
resources.ApplyResources(this, "$this");
@ -178,5 +197,7 @@ namespace XenAdmin.SettingsPanels
private System.Windows.Forms.Button m_buttonDown;
private System.Windows.Forms.CheckedListBox m_checkedListBox;
private System.Windows.Forms.CheckBox m_checkBoxAutoBoot;
private System.Windows.Forms.Button m_buttonConvertToPV;
private System.Windows.Forms.Button m_buttonConvertToHVM;
}
}

View File

@ -267,6 +267,8 @@ namespace XenAdmin.SettingsPanels
{
m_buttonUp.Enabled = 0 < m_checkedListBox.SelectedIndex && m_checkedListBox.SelectedIndex <= m_checkedListBox.Items.Count - 1;
m_buttonDown.Enabled = 0 <= m_checkedListBox.SelectedIndex && m_checkedListBox.SelectedIndex < m_checkedListBox.Items.Count - 1;
m_buttonConvertToHVM.Enabled = vm.power_state == vm_power_state.Halted;
m_buttonConvertToPV.Enabled = vm.power_state == vm_power_state.Halted;
}
/// <param name="up">
@ -298,6 +300,27 @@ namespace XenAdmin.SettingsPanels
ToggleUpDownButtonsEnabledState();
}
/// <param name="toPV">
/// True converts to PV, false converts to HVM
/// </param>
private void Convert(bool toPV)
{
if (toPV)
{
vm.HVM_boot_policy = "";
vm.PV_args = "console=tty0 xencons=tty";
vm.PV_bootloader = "pygrub";
}
else
{
vm.HVM_boot_policy = "BIOS Order";
}
Repopulate();
}
#region Control Event Handlers
private void m_checkedListBox_SelectedIndexChanged(object sender, EventArgs e)
@ -318,8 +341,20 @@ namespace XenAdmin.SettingsPanels
private void m_comboBoxBootDevice_SelectedIndexChanged(object sender, EventArgs e)
{
bootFromCD = (string)m_comboBoxBootDevice.SelectedItem == Messages.DVD_DRIVE;
}
#endregion
}
}
private void m_buttonConvertToPV_Click(object sender, EventArgs e)
{
Convert(true);
}
private void m_buttonConvertToHVM_Click(object sender, EventArgs e)
{
Convert(false);
}
#endregion
}
}

View File

@ -123,10 +123,10 @@
</data>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="m_textBoxOsParams.Location" type="System.Drawing.Point, System.Drawing">
<value>113, 50</value>
<value>120, 50</value>
</data>
<data name="m_textBoxOsParams.Size" type="System.Drawing.Size, System.Drawing">
<value>211, 20</value>
<value>206, 20</value>
</data>
<assembly alias="mscorlib" name="mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="m_textBoxOsParams.TabIndex" type="System.Int32, mscorlib">
@ -255,6 +255,39 @@
<data name="&gt;&gt;m_autoHeightLabelNonHvm.ZOrder" xml:space="preserve">
<value>1</value>
</data>
<data name="m_checkBoxAutoBoot.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
<value>Fill</value>
</data>
<data name="m_checkBoxAutoBoot.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
<value>NoControl</value>
</data>
<data name="m_checkBoxAutoBoot.Location" type="System.Drawing.Point, System.Drawing">
<value>9, 101</value>
</data>
<data name="m_checkBoxAutoBoot.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>9, 3, 3, 3</value>
</data>
<data name="m_checkBoxAutoBoot.Size" type="System.Drawing.Size, System.Drawing">
<value>438, 24</value>
</data>
<data name="m_checkBoxAutoBoot.TabIndex" type="System.Int32, mscorlib">
<value>6</value>
</data>
<data name="m_checkBoxAutoBoot.Text" xml:space="preserve">
<value>Autostart on server boot</value>
</data>
<data name="&gt;&gt;m_checkBoxAutoBoot.Name" xml:space="preserve">
<value>m_checkBoxAutoBoot</value>
</data>
<data name="&gt;&gt;m_checkBoxAutoBoot.Type" xml:space="preserve">
<value>System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;m_checkBoxAutoBoot.Parent" xml:space="preserve">
<value>tableLayoutPanel1</value>
</data>
<data name="&gt;&gt;m_checkBoxAutoBoot.ZOrder" xml:space="preserve">
<value>2</value>
</data>
<data name="m_tlpHvm.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
</data>
@ -301,7 +334,7 @@
<value>NoControl</value>
</data>
<data name="m_buttonUp.Location" type="System.Drawing.Point, System.Drawing">
<value>218, 3</value>
<value>291, 3</value>
</data>
<data name="m_buttonUp.Size" type="System.Drawing.Size, System.Drawing">
<value>85, 23</value>
@ -328,7 +361,7 @@
<value>NoControl</value>
</data>
<data name="m_buttonDown.Location" type="System.Drawing.Point, System.Drawing">
<value>218, 32</value>
<value>291, 32</value>
</data>
<data name="m_buttonDown.Size" type="System.Drawing.Size, System.Drawing">
<value>85, 23</value>
@ -355,7 +388,7 @@
<value>Fill</value>
</data>
<data name="m_checkedListBox.Location" type="System.Drawing.Point, System.Drawing">
<value>68, 3</value>
<value>141, 3</value>
</data>
<data name="m_checkedListBox.Size" type="System.Drawing.Size, System.Drawing">
<value>144, 102</value>
@ -375,17 +408,44 @@
<data name="&gt;&gt;m_checkedListBox.ZOrder" xml:space="preserve">
<value>3</value>
</data>
<data name="m_buttonConvertToPV.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
<value>NoControl</value>
</data>
<data name="m_buttonConvertToPV.Location" type="System.Drawing.Point, System.Drawing">
<value>3, 131</value>
</data>
<data name="m_buttonConvertToPV.Size" type="System.Drawing.Size, System.Drawing">
<value>132, 23</value>
</data>
<data name="m_buttonConvertToPV.TabIndex" type="System.Int32, mscorlib">
<value>6</value>
</data>
<data name="m_buttonConvertToPV.Text" xml:space="preserve">
<value>Convert to PV</value>
</data>
<data name="&gt;&gt;m_buttonConvertToPV.Name" xml:space="preserve">
<value>m_buttonConvertToPV</value>
</data>
<data name="&gt;&gt;m_buttonConvertToPV.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="&gt;&gt;m_buttonConvertToPV.Parent" xml:space="preserve">
<value>m_tlpHvm</value>
</data>
<data name="&gt;&gt;m_buttonConvertToPV.ZOrder" xml:space="preserve">
<value>4</value>
</data>
<data name="m_tlpHvm.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
<value>Fill</value>
</data>
<data name="m_tlpHvm.Location" type="System.Drawing.Point, System.Drawing">
<value>3, 101</value>
<value>3, 131</value>
</data>
<data name="m_tlpHvm.RowCount" type="System.Int32, mscorlib">
<value>4</value>
<value>5</value>
</data>
<data name="m_tlpHvm.Size" type="System.Drawing.Size, System.Drawing">
<value>444, 108</value>
<value>444, 157</value>
</data>
<data name="m_tlpHvm.TabIndex" type="System.Int32, mscorlib">
<value>4</value>
@ -400,10 +460,10 @@
<value>tableLayoutPanel1</value>
</data>
<data name="&gt;&gt;m_tlpHvm.ZOrder" xml:space="preserve">
<value>2</value>
<value>3</value>
</data>
<data name="m_tlpHvm.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="1" /&gt;&lt;Control Name="m_buttonUp" Row="0" RowSpan="1" Column="2" ColumnSpan="1" /&gt;&lt;Control Name="m_buttonDown" Row="1" RowSpan="1" Column="2" ColumnSpan="1" /&gt;&lt;Control Name="m_checkedListBox" Row="0" RowSpan="3" Column="1" ColumnSpan="1" /&gt;&lt;/Controls&gt;&lt;Columns Styles="AutoSize,0,Absolute,150,AutoSize,0,Percent,100" /&gt;&lt;Rows Styles="AutoSize,0,AutoSize,0,Absolute,50,Percent,100,Absolute,20,Absolute,20" /&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="1" /&gt;&lt;Control Name="m_buttonUp" Row="0" RowSpan="1" Column="2" ColumnSpan="1" /&gt;&lt;Control Name="m_buttonDown" Row="1" RowSpan="1" Column="2" ColumnSpan="1" /&gt;&lt;Control Name="m_checkedListBox" Row="0" RowSpan="3" Column="1" ColumnSpan="1" /&gt;&lt;Control Name="m_buttonConvertToPV" Row="4" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;/Controls&gt;&lt;Columns Styles="AutoSize,0,Absolute,150,AutoSize,0,Percent,100" /&gt;&lt;Rows Styles="AutoSize,0,AutoSize,0,Absolute,50,Absolute,20,Percent,100" /&gt;&lt;/TableLayoutSettings&gt;</value>
</data>
<data name="m_tlpNonHvm.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
@ -454,10 +514,10 @@
<value>Fill</value>
</data>
<data name="m_comboBoxBootDevice.Location" type="System.Drawing.Point, System.Drawing">
<value>113, 3</value>
<value>120, 3</value>
</data>
<data name="m_comboBoxBootDevice.Size" type="System.Drawing.Size, System.Drawing">
<value>211, 21</value>
<value>206, 21</value>
</data>
<data name="m_comboBoxBootDevice.TabIndex" type="System.Int32, mscorlib">
<value>2</value>
@ -474,17 +534,44 @@
<data name="&gt;&gt;m_comboBoxBootDevice.ZOrder" xml:space="preserve">
<value>3</value>
</data>
<data name="m_buttonConvertToHVM.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
<value>NoControl</value>
</data>
<data name="m_buttonConvertToHVM.Location" type="System.Drawing.Point, System.Drawing">
<value>3, 96</value>
</data>
<data name="m_buttonConvertToHVM.Size" type="System.Drawing.Size, System.Drawing">
<value>111, 23</value>
</data>
<data name="m_buttonConvertToHVM.TabIndex" type="System.Int32, mscorlib">
<value>5</value>
</data>
<data name="m_buttonConvertToHVM.Text" xml:space="preserve">
<value>Convert to HVM</value>
</data>
<data name="&gt;&gt;m_buttonConvertToHVM.Name" xml:space="preserve">
<value>m_buttonConvertToHVM</value>
</data>
<data name="&gt;&gt;m_buttonConvertToHVM.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="&gt;&gt;m_buttonConvertToHVM.Parent" xml:space="preserve">
<value>m_tlpNonHvm</value>
</data>
<data name="&gt;&gt;m_buttonConvertToHVM.ZOrder" xml:space="preserve">
<value>4</value>
</data>
<data name="m_tlpNonHvm.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
<value>Fill</value>
</data>
<data name="m_tlpNonHvm.Location" type="System.Drawing.Point, System.Drawing">
<value>3, 215</value>
<value>3, 294</value>
</data>
<data name="m_tlpNonHvm.RowCount" type="System.Int32, mscorlib">
<value>4</value>
<value>5</value>
</data>
<data name="m_tlpNonHvm.Size" type="System.Drawing.Size, System.Drawing">
<value>444, 208</value>
<value>444, 129</value>
</data>
<data name="m_tlpNonHvm.TabIndex" type="System.Int32, mscorlib">
<value>5</value>
@ -499,10 +586,10 @@
<value>tableLayoutPanel1</value>
</data>
<data name="&gt;&gt;m_tlpNonHvm.ZOrder" xml:space="preserve">
<value>3</value>
<value>4</value>
</data>
<data name="m_tlpNonHvm.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="label3" Row="2" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;Control Name="m_textBoxOsParams" Row="2" RowSpan="1" Column="1" ColumnSpan="1" /&gt;&lt;Control Name="label2" Row="0" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;Control Name="m_comboBoxBootDevice" Row="0" RowSpan="1" Column="1" ColumnSpan="1" /&gt;&lt;/Controls&gt;&lt;Columns Styles="AutoSize,0,Percent,65,Percent,35" /&gt;&lt;Rows Styles="AutoSize,0,Absolute,20,AutoSize,0,Percent,100,Absolute,20,Absolute,20" /&gt;&lt;/TableLayoutSettings&gt;</value>
<value>&lt;?xml version="1.0" encoding="utf-16"?&gt;&lt;TableLayoutSettings&gt;&lt;Controls&gt;&lt;Control Name="label3" Row="2" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;Control Name="m_textBoxOsParams" Row="2" RowSpan="1" Column="1" ColumnSpan="1" /&gt;&lt;Control Name="label2" Row="0" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;Control Name="m_comboBoxBootDevice" Row="0" RowSpan="1" Column="1" ColumnSpan="1" /&gt;&lt;Control Name="m_buttonConvertToHVM" Row="4" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;/Controls&gt;&lt;Columns Styles="AutoSize,0,Percent,65,Percent,35" /&gt;&lt;Rows Styles="AutoSize,0,Absolute,20,AutoSize,0,Absolute,20,Percent,100" /&gt;&lt;/TableLayoutSettings&gt;</value>
</data>
<data name="tableLayoutPanel1.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
<value>Fill</value>
@ -511,7 +598,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>450, 426</value>
@ -532,11 +619,11 @@
<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="m_autoHeightLabelHvm" Row="0" RowSpan="1" Column="0" ColumnSpan="4" /&gt;&lt;Control Name="m_autoHeightLabelNonHvm" Row="1" RowSpan="1" Column="0" ColumnSpan="3" /&gt;&lt;Control Name="m_tlpHvm" Row="3" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;Control Name="m_tlpNonHvm" Row="4" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;/Controls&gt;&lt;Columns Styles="Percent,100" /&gt;&lt;Rows Styles="AutoSize,0,AutoSize,0,Absolute,20,AutoSize,0,AutoSize,0,Absolute,20,Absolute,20" /&gt;&lt;/TableLayoutSettings&gt;</value>
<value>&lt;?xml version="1.0" encoding="utf-16"?&gt;&lt;TableLayoutSettings&gt;&lt;Controls&gt;&lt;Control Name="m_autoHeightLabelHvm" Row="0" RowSpan="1" Column="0" ColumnSpan="4" /&gt;&lt;Control Name="m_autoHeightLabelNonHvm" Row="1" RowSpan="1" Column="0" ColumnSpan="3" /&gt;&lt;Control Name="m_checkBoxAutoBoot" Row="3" RowSpan="1" Column="0" ColumnSpan="2" /&gt;&lt;Control Name="m_tlpHvm" Row="4" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;Control Name="m_tlpNonHvm" Row="5" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;/Controls&gt;&lt;Columns Styles="Percent,100" /&gt;&lt;Rows Styles="AutoSize,0,AutoSize,0,Absolute,20,AutoSize,0,AutoSize,0,AutoSize,0,Absolute,20" /&gt;&lt;/TableLayoutSettings&gt;</value>
</data>
<data name="$this.Localizable" type="System.Boolean, mscorlib">
<metadata name="$this.Localizable" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
</metadata>
<data name="$this.AutoScaleDimensions" type="System.Drawing.SizeF, System.Drawing">
<value>96, 96</value>
</data>
@ -552,19 +639,4 @@
<data name="&gt;&gt;$this.Type" xml:space="preserve">
<value>System.Windows.Forms.UserControl, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;m_checkBoxAutoBoot.Name" xml:space="preserve">
<value>m_checkBoxAutoBoot</value>
</data>
<data name="&gt;&gt;m_checkBoxAutoBoot.Parent" xml:space="preserve">
<value>tableLayoutPanel1</value>
</data>
<data name="&gt;&gt;m_checkBoxAutoBoot.Type" xml:space="preserve">
<value>System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;m_checkBoxAutoBoot.ZOrder" xml:space="preserve">
<value>4</value>
</data>
<data name="m_checkBoxAutoBoot.Text" xml:space="preserve">
<value>Auto-start on server boot</value>
</data>
</root>