mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-11-25 06:16:37 +01:00
aaee939453
- Re-arranged and re-worded controls so that this page looks more like the precheck page of the patching and RPU wizards. - Do not show the failure message unless issues are found. - Do no enable the Resolve All button unless all issues are fixable. - Fixed crash when the required SR is present in the pool but detached. Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
222 lines
12 KiB
C#
222 lines
12 KiB
C#
namespace XenAdmin.Wizards.DRWizards
|
|
{
|
|
partial class DRFailoverWizardPrecheckPage
|
|
{
|
|
/// <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)
|
|
{
|
|
_worker.Dispose();
|
|
|
|
if (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(DRFailoverWizardPrecheckPage));
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
this.checkBoxHideSuccessful = new System.Windows.Forms.CheckBox();
|
|
this.panelErrorsFound = new System.Windows.Forms.TableLayoutPanel();
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
this.pictureBox1 = new System.Windows.Forms.PictureBox();
|
|
this.progressBar1 = new System.Windows.Forms.ProgressBar();
|
|
this.buttonResolveAll = new System.Windows.Forms.Button();
|
|
this.buttonReCheckProblems = new System.Windows.Forms.Button();
|
|
this.dataGridView1 = new XenAdmin.Controls.DataGridViewEx.DataGridViewEx();
|
|
this.ColumnState = new System.Windows.Forms.DataGridViewImageColumn();
|
|
this.ColumnDescription = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.ColumnSolution = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.labelPrechecksFirstLine = new System.Windows.Forms.Label();
|
|
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
|
this.labelContinue = new System.Windows.Forms.Label();
|
|
this.labelPrecheckStatus = new System.Windows.Forms.Label();
|
|
this.panelErrorsFound.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
|
|
this.tableLayoutPanel1.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
// checkBoxHideSuccessful
|
|
//
|
|
resources.ApplyResources(this.checkBoxHideSuccessful, "checkBoxHideSuccessful");
|
|
this.checkBoxHideSuccessful.Name = "checkBoxHideSuccessful";
|
|
this.checkBoxHideSuccessful.UseVisualStyleBackColor = true;
|
|
this.checkBoxHideSuccessful.CheckedChanged += new System.EventHandler(this.checkBoxViewPrecheckFailuresOnly_CheckedChanged);
|
|
//
|
|
// panelErrorsFound
|
|
//
|
|
resources.ApplyResources(this.panelErrorsFound, "panelErrorsFound");
|
|
this.tableLayoutPanel1.SetColumnSpan(this.panelErrorsFound, 3);
|
|
this.panelErrorsFound.Controls.Add(this.label1, 1, 0);
|
|
this.panelErrorsFound.Controls.Add(this.pictureBox1, 0, 0);
|
|
this.panelErrorsFound.Name = "panelErrorsFound";
|
|
//
|
|
// label1
|
|
//
|
|
resources.ApplyResources(this.label1, "label1");
|
|
this.label1.Name = "label1";
|
|
//
|
|
// pictureBox1
|
|
//
|
|
resources.ApplyResources(this.pictureBox1, "pictureBox1");
|
|
this.pictureBox1.Image = global::XenAdmin.Properties.Resources._000_error_h32bit_16;
|
|
this.pictureBox1.Name = "pictureBox1";
|
|
this.pictureBox1.TabStop = false;
|
|
//
|
|
// progressBar1
|
|
//
|
|
resources.ApplyResources(this.progressBar1, "progressBar1");
|
|
this.tableLayoutPanel1.SetColumnSpan(this.progressBar1, 3);
|
|
this.progressBar1.Name = "progressBar1";
|
|
//
|
|
// buttonResolveAll
|
|
//
|
|
resources.ApplyResources(this.buttonResolveAll, "buttonResolveAll");
|
|
this.buttonResolveAll.Name = "buttonResolveAll";
|
|
this.buttonResolveAll.UseVisualStyleBackColor = true;
|
|
this.buttonResolveAll.Click += new System.EventHandler(this.buttonResolveAll_Click);
|
|
//
|
|
// buttonReCheckProblems
|
|
//
|
|
resources.ApplyResources(this.buttonReCheckProblems, "buttonReCheckProblems");
|
|
this.buttonReCheckProblems.Name = "buttonReCheckProblems";
|
|
this.buttonReCheckProblems.UseVisualStyleBackColor = true;
|
|
this.buttonReCheckProblems.Click += new System.EventHandler(this.buttonReCheckProblems_Click);
|
|
//
|
|
// 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.ColumnHeadersVisible = false;
|
|
this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
|
this.ColumnState,
|
|
this.ColumnDescription,
|
|
this.ColumnSolution});
|
|
this.tableLayoutPanel1.SetColumnSpan(this.dataGridView1, 3);
|
|
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
|
dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Window;
|
|
dataGridViewCellStyle2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.ControlText;
|
|
dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Window;
|
|
dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.ControlText;
|
|
dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
|
this.dataGridView1.DefaultCellStyle = dataGridViewCellStyle2;
|
|
resources.ApplyResources(this.dataGridView1, "dataGridView1");
|
|
this.dataGridView1.HideSelection = true;
|
|
this.dataGridView1.Name = "dataGridView1";
|
|
this.dataGridView1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.RowHeaderSelect;
|
|
this.dataGridView1.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellContentClick);
|
|
//
|
|
// ColumnState
|
|
//
|
|
this.ColumnState.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
|
|
dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
|
dataGridViewCellStyle1.NullValue = "System.Drawing.Bitmap";
|
|
this.ColumnState.DefaultCellStyle = dataGridViewCellStyle1;
|
|
resources.ApplyResources(this.ColumnState, "ColumnState");
|
|
this.ColumnState.Name = "ColumnState";
|
|
this.ColumnState.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
|
this.ColumnState.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
|
|
//
|
|
// ColumnDescription
|
|
//
|
|
this.ColumnDescription.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
this.ColumnDescription.FillWeight = 137.8531F;
|
|
resources.ApplyResources(this.ColumnDescription, "ColumnDescription");
|
|
this.ColumnDescription.Name = "ColumnDescription";
|
|
//
|
|
// ColumnSolution
|
|
//
|
|
this.ColumnSolution.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells;
|
|
this.ColumnSolution.FillWeight = 40F;
|
|
resources.ApplyResources(this.ColumnSolution, "ColumnSolution");
|
|
this.ColumnSolution.Name = "ColumnSolution";
|
|
//
|
|
// labelPrechecksFirstLine
|
|
//
|
|
resources.ApplyResources(this.labelPrechecksFirstLine, "labelPrechecksFirstLine");
|
|
this.tableLayoutPanel1.SetColumnSpan(this.labelPrechecksFirstLine, 3);
|
|
this.labelPrechecksFirstLine.Name = "labelPrechecksFirstLine";
|
|
//
|
|
// tableLayoutPanel1
|
|
//
|
|
resources.ApplyResources(this.tableLayoutPanel1, "tableLayoutPanel1");
|
|
this.tableLayoutPanel1.Controls.Add(this.labelContinue, 0, 1);
|
|
this.tableLayoutPanel1.Controls.Add(this.labelPrecheckStatus, 0, 5);
|
|
this.tableLayoutPanel1.Controls.Add(this.panelErrorsFound, 0, 4);
|
|
this.tableLayoutPanel1.Controls.Add(this.checkBoxHideSuccessful, 0, 3);
|
|
this.tableLayoutPanel1.Controls.Add(this.progressBar1, 0, 6);
|
|
this.tableLayoutPanel1.Controls.Add(this.dataGridView1, 0, 2);
|
|
this.tableLayoutPanel1.Controls.Add(this.buttonResolveAll, 2, 3);
|
|
this.tableLayoutPanel1.Controls.Add(this.buttonReCheckProblems, 1, 3);
|
|
this.tableLayoutPanel1.Controls.Add(this.labelPrechecksFirstLine, 0, 0);
|
|
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
|
|
//
|
|
// labelContinue
|
|
//
|
|
resources.ApplyResources(this.labelContinue, "labelContinue");
|
|
this.tableLayoutPanel1.SetColumnSpan(this.labelContinue, 3);
|
|
this.labelContinue.Name = "labelContinue";
|
|
//
|
|
// labelPrecheckStatus
|
|
//
|
|
resources.ApplyResources(this.labelPrecheckStatus, "labelPrecheckStatus");
|
|
this.tableLayoutPanel1.SetColumnSpan(this.labelPrecheckStatus, 3);
|
|
this.labelPrecheckStatus.Name = "labelPrecheckStatus";
|
|
//
|
|
// DRFailoverWizardPrecheckPage
|
|
//
|
|
resources.ApplyResources(this, "$this");
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
|
|
this.Controls.Add(this.tableLayoutPanel1);
|
|
this.Name = "DRFailoverWizardPrecheckPage";
|
|
this.panelErrorsFound.ResumeLayout(false);
|
|
this.panelErrorsFound.PerformLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
|
|
this.tableLayoutPanel1.ResumeLayout(false);
|
|
this.tableLayoutPanel1.PerformLayout();
|
|
this.ResumeLayout(false);
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.CheckBox checkBoxHideSuccessful;
|
|
private System.Windows.Forms.TableLayoutPanel panelErrorsFound;
|
|
private System.Windows.Forms.Label label1;
|
|
private System.Windows.Forms.PictureBox pictureBox1;
|
|
private System.Windows.Forms.ProgressBar progressBar1;
|
|
private System.Windows.Forms.Button buttonResolveAll;
|
|
private System.Windows.Forms.Button buttonReCheckProblems;
|
|
private System.Windows.Forms.Label labelPrechecksFirstLine;
|
|
private System.Windows.Forms.DataGridViewImageColumn ColumnState;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn ColumnDescription;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn ColumnSolution;
|
|
private XenAdmin.Controls.DataGridViewEx.DataGridViewEx dataGridView1;
|
|
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
|
|
private System.Windows.Forms.Label labelPrecheckStatus;
|
|
private System.Windows.Forms.Label labelContinue;
|
|
}
|
|
}
|