mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-12-30 07:40:13 +01:00
9c652cd687
- The cloud config parameters page is only visible on a VM that already has a config drive. - The cloud config parameters can only be changed when the VM is halted. - In the New VM wizard, if a template is selected that already has a config drive, them the wizard will display the existing configuration, not the default one. Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
141 lines
6.8 KiB
C#
141 lines
6.8 KiB
C#
namespace XenAdmin.Wizards.NewVMWizard
|
|
{
|
|
partial class Page_CloudConfigParameters
|
|
{
|
|
/// <summary>
|
|
/// Required designer variable.
|
|
/// </summary>
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
/// <summary>
|
|
/// Clean up any resources being used.
|
|
/// </summary>
|
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing && (components != null))
|
|
{
|
|
components.Dispose();
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
#region Component Designer generated code
|
|
|
|
/// <summary>
|
|
/// Required method for Designer support - do not modify
|
|
/// the contents of this method with the code editor.
|
|
/// </summary>
|
|
private void InitializeComponent()
|
|
{
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Page_CloudConfigParameters));
|
|
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
|
this.ConfigDriveTemplateTextBox = new System.Windows.Forms.TextBox();
|
|
this.topLabel = new System.Windows.Forms.Label();
|
|
this.warningsTable = new System.Windows.Forms.TableLayoutPanel();
|
|
this.imgStopVM = new System.Windows.Forms.PictureBox();
|
|
this.labelStopVM = new System.Windows.Forms.Label();
|
|
this.ConfigDriveTemplateLabel = new System.Windows.Forms.Label();
|
|
this.IncludeConfigDriveCheckBox = new System.Windows.Forms.CheckBox();
|
|
this.reloadDefaults = new System.Windows.Forms.Button();
|
|
this.tableLayoutPanel1.SuspendLayout();
|
|
this.warningsTable.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.imgStopVM)).BeginInit();
|
|
this.SuspendLayout();
|
|
//
|
|
// tableLayoutPanel1
|
|
//
|
|
resources.ApplyResources(this.tableLayoutPanel1, "tableLayoutPanel1");
|
|
this.tableLayoutPanel1.Controls.Add(this.warningsTable, 0, 4);
|
|
this.tableLayoutPanel1.Controls.Add(this.topLabel, 0, 0);
|
|
this.tableLayoutPanel1.Controls.Add(this.ConfigDriveTemplateTextBox, 1, 2);
|
|
this.tableLayoutPanel1.Controls.Add(this.ConfigDriveTemplateLabel, 0, 2);
|
|
this.tableLayoutPanel1.Controls.Add(this.IncludeConfigDriveCheckBox, 0, 1);
|
|
this.tableLayoutPanel1.Controls.Add(this.reloadDefaults, 0, 3);
|
|
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
|
|
//
|
|
// ConfigDriveTemplateTextBox
|
|
//
|
|
this.ConfigDriveTemplateTextBox.AcceptsReturn = true;
|
|
resources.ApplyResources(this.ConfigDriveTemplateTextBox, "ConfigDriveTemplateTextBox");
|
|
this.ConfigDriveTemplateTextBox.Name = "ConfigDriveTemplateTextBox";
|
|
this.tableLayoutPanel1.SetRowSpan(this.ConfigDriveTemplateTextBox, 2);
|
|
this.ConfigDriveTemplateTextBox.TextChanged += new System.EventHandler(this.ConfigDriveTemplateTextBox_TextChanged);
|
|
//
|
|
// topLabel
|
|
//
|
|
resources.ApplyResources(this.topLabel, "topLabel");
|
|
this.tableLayoutPanel1.SetColumnSpan(this.topLabel, 2);
|
|
this.topLabel.Name = "topLabel";
|
|
//
|
|
// warningsTable
|
|
//
|
|
resources.ApplyResources(this.warningsTable, "warningsTable");
|
|
this.tableLayoutPanel1.SetColumnSpan(this.warningsTable, 2);
|
|
this.warningsTable.Controls.Add(this.imgStopVM, 0, 0);
|
|
this.warningsTable.Controls.Add(this.labelStopVM, 1, 0);
|
|
this.warningsTable.Name = "warningsTable";
|
|
//
|
|
// imgStopVM
|
|
//
|
|
resources.ApplyResources(this.imgStopVM, "imgStopVM");
|
|
this.imgStopVM.Image = global::XenAdmin.Properties.Resources._000_Info3_h32bit_16;
|
|
this.imgStopVM.Name = "imgStopVM";
|
|
this.imgStopVM.TabStop = false;
|
|
//
|
|
// labelStopVM
|
|
//
|
|
resources.ApplyResources(this.labelStopVM, "labelStopVM");
|
|
this.labelStopVM.Name = "labelStopVM";
|
|
//
|
|
// ConfigDriveTemplateLabel
|
|
//
|
|
resources.ApplyResources(this.ConfigDriveTemplateLabel, "ConfigDriveTemplateLabel");
|
|
this.ConfigDriveTemplateLabel.Name = "ConfigDriveTemplateLabel";
|
|
//
|
|
// IncludeConfigDriveCheckBox
|
|
//
|
|
resources.ApplyResources(this.IncludeConfigDriveCheckBox, "IncludeConfigDriveCheckBox");
|
|
this.IncludeConfigDriveCheckBox.Checked = true;
|
|
this.IncludeConfigDriveCheckBox.CheckState = System.Windows.Forms.CheckState.Checked;
|
|
this.tableLayoutPanel1.SetColumnSpan(this.IncludeConfigDriveCheckBox, 2);
|
|
this.IncludeConfigDriveCheckBox.Name = "IncludeConfigDriveCheckBox";
|
|
this.IncludeConfigDriveCheckBox.UseVisualStyleBackColor = true;
|
|
this.IncludeConfigDriveCheckBox.CheckedChanged += new System.EventHandler(this.IncludeConfigDriveCheckBox_CheckedChanged);
|
|
//
|
|
// reloadDefaults
|
|
//
|
|
resources.ApplyResources(this.reloadDefaults, "reloadDefaults");
|
|
this.reloadDefaults.Name = "reloadDefaults";
|
|
this.reloadDefaults.UseVisualStyleBackColor = true;
|
|
this.reloadDefaults.Click += new System.EventHandler(this.reloadDefaults_Click);
|
|
//
|
|
// Page_CloudConfigParameters
|
|
//
|
|
resources.ApplyResources(this, "$this");
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
|
|
this.Controls.Add(this.tableLayoutPanel1);
|
|
this.Name = "Page_CloudConfigParameters";
|
|
this.tableLayoutPanel1.ResumeLayout(false);
|
|
this.tableLayoutPanel1.PerformLayout();
|
|
this.warningsTable.ResumeLayout(false);
|
|
this.warningsTable.PerformLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.imgStopVM)).EndInit();
|
|
this.ResumeLayout(false);
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.TextBox ConfigDriveTemplateTextBox;
|
|
private System.Windows.Forms.Label ConfigDriveTemplateLabel;
|
|
private System.Windows.Forms.Label topLabel;
|
|
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
|
|
private System.Windows.Forms.CheckBox IncludeConfigDriveCheckBox;
|
|
private System.Windows.Forms.Button reloadDefaults;
|
|
private System.Windows.Forms.TableLayoutPanel warningsTable;
|
|
private System.Windows.Forms.PictureBox imgStopVM;
|
|
private System.Windows.Forms.Label labelStopVM;
|
|
}
|
|
}
|