mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-12-23 08:56:02 +01:00
0e5f1335d4
Also includes some improvements to the Select Pools page of the RPU wizard - do not show the checkbox if the item is disabled - show the icon for the pool items, not only for hosts (making this consistent with the similar page in the Update Wizard) Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
159 lines
7.8 KiB
C#
159 lines
7.8 KiB
C#
using XenAdmin.Controls.DataGridViewEx;
|
|
|
|
namespace XenAdmin.Wizards.RollingUpgradeWizard
|
|
{
|
|
partial class RollingUpgradeWizardSelectPool
|
|
{
|
|
/// <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()
|
|
{
|
|
this.components = new System.ComponentModel.Container();
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(RollingUpgradeWizardSelectPool));
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
this.dataGridView1 = new XenAdmin.Wizards.RollingUpgradeWizard.RollingUpgradeWizardSelectPool.UpgradeDataGridView(this.components);
|
|
this.expansionColumn = new System.Windows.Forms.DataGridViewImageColumn();
|
|
this.checkBoxColumn = new System.Windows.Forms.DataGridViewCheckBoxColumn();
|
|
this.NameColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.Description = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.ColumnVersion = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
this.buttonSelectAll = new System.Windows.Forms.Button();
|
|
this.buttonClearAll = new System.Windows.Forms.Button();
|
|
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
|
|
this.SuspendLayout();
|
|
//
|
|
// dataGridView1
|
|
//
|
|
resources.ApplyResources(this.dataGridView1, "dataGridView1");
|
|
this.dataGridView1.BackgroundColor = System.Drawing.SystemColors.Window;
|
|
this.dataGridView1.CellBorderStyle = System.Windows.Forms.DataGridViewCellBorderStyle.None;
|
|
this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
|
this.expansionColumn,
|
|
this.checkBoxColumn,
|
|
this.NameColumn,
|
|
this.Description,
|
|
this.ColumnVersion});
|
|
this.dataGridView1.Name = "dataGridView1";
|
|
this.dataGridView1.ReadOnly = true;
|
|
this.dataGridView1.Updating = false;
|
|
//
|
|
// expansionColumn
|
|
//
|
|
this.expansionColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells;
|
|
dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
|
dataGridViewCellStyle1.NullValue = ((object)(resources.GetObject("dataGridViewCellStyle1.NullValue")));
|
|
dataGridViewCellStyle1.Padding = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
|
this.expansionColumn.DefaultCellStyle = dataGridViewCellStyle1;
|
|
this.expansionColumn.FillWeight = 25.80645F;
|
|
resources.ApplyResources(this.expansionColumn, "expansionColumn");
|
|
this.expansionColumn.Name = "expansionColumn";
|
|
this.expansionColumn.ReadOnly = true;
|
|
this.expansionColumn.Resizable = System.Windows.Forms.DataGridViewTriState.False;
|
|
//
|
|
// checkBoxColumn
|
|
//
|
|
this.checkBoxColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells;
|
|
resources.ApplyResources(this.checkBoxColumn, "checkBoxColumn");
|
|
this.checkBoxColumn.Name = "checkBoxColumn";
|
|
this.checkBoxColumn.ReadOnly = true;
|
|
this.checkBoxColumn.Resizable = System.Windows.Forms.DataGridViewTriState.False;
|
|
//
|
|
// NameColumn
|
|
//
|
|
this.NameColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
this.NameColumn.FillWeight = 19.22371F;
|
|
resources.ApplyResources(this.NameColumn, "NameColumn");
|
|
this.NameColumn.Name = "NameColumn";
|
|
this.NameColumn.ReadOnly = true;
|
|
this.NameColumn.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
|
//
|
|
// Description
|
|
//
|
|
this.Description.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
this.Description.FillWeight = 19.22371F;
|
|
resources.ApplyResources(this.Description, "Description");
|
|
this.Description.Name = "Description";
|
|
this.Description.ReadOnly = true;
|
|
//
|
|
// ColumnVersion
|
|
//
|
|
this.ColumnVersion.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
this.ColumnVersion.FillWeight = 1F;
|
|
resources.ApplyResources(this.ColumnVersion, "ColumnVersion");
|
|
this.ColumnVersion.Name = "ColumnVersion";
|
|
this.ColumnVersion.ReadOnly = true;
|
|
//
|
|
// label1
|
|
//
|
|
resources.ApplyResources(this.label1, "label1");
|
|
this.label1.Name = "label1";
|
|
//
|
|
// buttonSelectAll
|
|
//
|
|
resources.ApplyResources(this.buttonSelectAll, "buttonSelectAll");
|
|
this.buttonSelectAll.Name = "buttonSelectAll";
|
|
this.buttonSelectAll.UseVisualStyleBackColor = true;
|
|
this.buttonSelectAll.Click += new System.EventHandler(this.buttonSelectAll_Click);
|
|
//
|
|
// buttonClearAll
|
|
//
|
|
resources.ApplyResources(this.buttonClearAll, "buttonClearAll");
|
|
this.buttonClearAll.Name = "buttonClearAll";
|
|
this.buttonClearAll.UseVisualStyleBackColor = true;
|
|
this.buttonClearAll.Click += new System.EventHandler(this.buttonClearAll_Click);
|
|
//
|
|
// RollingUpgradeWizardSelectPool
|
|
//
|
|
this.Controls.Add(this.buttonClearAll);
|
|
this.Controls.Add(this.buttonSelectAll);
|
|
this.Controls.Add(this.label1);
|
|
this.Controls.Add(this.dataGridView1);
|
|
this.Name = "RollingUpgradeWizardSelectPool";
|
|
resources.ApplyResources(this, "$this");
|
|
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private UpgradeDataGridView dataGridView1;
|
|
private System.Windows.Forms.Label label1;
|
|
private System.Windows.Forms.Button buttonSelectAll;
|
|
private System.Windows.Forms.Button buttonClearAll;
|
|
private System.Windows.Forms.DataGridViewImageColumn expansionColumn;
|
|
private System.Windows.Forms.DataGridViewCheckBoxColumn checkBoxColumn;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn NameColumn;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn Description;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn ColumnVersion;
|
|
|
|
}
|
|
|
|
|
|
}
|