mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-11-25 06:16:37 +01:00
f3da384a6a
- Use CommandButtons on the HA TabPage for configuring/disabling HA. - Added menu item to disable HA. - There is no point in hiding the buttons on the HA TabPage when the corresponding menu items are available. They should rather offer the same user experience. - Added RBAC page to the HaWizard to avoid unnecessary SR scanning only to be told that one cannot proceed. - Show RBAC error dialog if the user does not have permission to launch the EditVmPriorities dialog. Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
185 lines
8.1 KiB
C#
185 lines
8.1 KiB
C#
namespace XenAdmin.TabPages
|
|
{
|
|
partial class HAPage
|
|
{
|
|
/// <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))
|
|
{
|
|
ConnectionsManager.History.CollectionChanged -= History_CollectionChanged;
|
|
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(HAPage));
|
|
this.label6 = new System.Windows.Forms.Label();
|
|
this.label10 = new System.Windows.Forms.Label();
|
|
this.label9 = new System.Windows.Forms.Label();
|
|
this.label8 = new System.Windows.Forms.Label();
|
|
this.label7 = new System.Windows.Forms.Label();
|
|
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
|
this.labelStatus = new System.Windows.Forms.Label();
|
|
this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel();
|
|
this.toolTipContainer1 = new XenAdmin.Controls.ToolTipContainer();
|
|
this.buttonConfigure = new XenAdmin.Commands.CommandButton();
|
|
this.toolTipContainer2 = new XenAdmin.Controls.ToolTipContainer();
|
|
this.buttonDisableHa = new XenAdmin.Commands.CommandButton();
|
|
this.tableLatencies = new System.Windows.Forms.TableLayoutPanel();
|
|
this.customListPanel = new XenAdmin.Controls.CustomListPanel();
|
|
this.TitleLabel = new System.Windows.Forms.Label();
|
|
this.pageContainerPanel.SuspendLayout();
|
|
this.tableLayoutPanel1.SuspendLayout();
|
|
this.flowLayoutPanel1.SuspendLayout();
|
|
this.toolTipContainer1.SuspendLayout();
|
|
this.toolTipContainer2.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
// pageContainerPanel
|
|
//
|
|
this.pageContainerPanel.Controls.Add(this.tableLayoutPanel1);
|
|
resources.ApplyResources(this.pageContainerPanel, "pageContainerPanel");
|
|
//
|
|
// label6
|
|
//
|
|
resources.ApplyResources(this.label6, "label6");
|
|
this.label6.Name = "label6";
|
|
//
|
|
// label10
|
|
//
|
|
resources.ApplyResources(this.label10, "label10");
|
|
this.label10.Name = "label10";
|
|
//
|
|
// label9
|
|
//
|
|
resources.ApplyResources(this.label9, "label9");
|
|
this.label9.Name = "label9";
|
|
//
|
|
// label8
|
|
//
|
|
resources.ApplyResources(this.label8, "label8");
|
|
this.label8.Name = "label8";
|
|
//
|
|
// label7
|
|
//
|
|
resources.ApplyResources(this.label7, "label7");
|
|
this.label7.Name = "label7";
|
|
//
|
|
// tableLayoutPanel1
|
|
//
|
|
resources.ApplyResources(this.tableLayoutPanel1, "tableLayoutPanel1");
|
|
this.tableLayoutPanel1.Controls.Add(this.labelStatus, 0, 0);
|
|
this.tableLayoutPanel1.Controls.Add(this.flowLayoutPanel1, 0, 1);
|
|
this.tableLayoutPanel1.Controls.Add(this.tableLatencies, 0, 3);
|
|
this.tableLayoutPanel1.Controls.Add(this.customListPanel, 0, 2);
|
|
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
|
|
//
|
|
// labelStatus
|
|
//
|
|
resources.ApplyResources(this.labelStatus, "labelStatus");
|
|
this.labelStatus.Name = "labelStatus";
|
|
this.labelStatus.UseMnemonic = false;
|
|
//
|
|
// flowLayoutPanel1
|
|
//
|
|
resources.ApplyResources(this.flowLayoutPanel1, "flowLayoutPanel1");
|
|
this.flowLayoutPanel1.Controls.Add(this.toolTipContainer1);
|
|
this.flowLayoutPanel1.Controls.Add(this.toolTipContainer2);
|
|
this.flowLayoutPanel1.Name = "flowLayoutPanel1";
|
|
//
|
|
// toolTipContainer1
|
|
//
|
|
this.toolTipContainer1.Controls.Add(this.buttonConfigure);
|
|
resources.ApplyResources(this.toolTipContainer1, "toolTipContainer1");
|
|
this.toolTipContainer1.Name = "toolTipContainer1";
|
|
//
|
|
// buttonConfigure
|
|
//
|
|
resources.ApplyResources(this.buttonConfigure, "buttonConfigure");
|
|
this.buttonConfigure.Name = "buttonConfigure";
|
|
this.buttonConfigure.UseVisualStyleBackColor = true;
|
|
//
|
|
// toolTipContainer2
|
|
//
|
|
this.toolTipContainer2.Controls.Add(this.buttonDisableHa);
|
|
resources.ApplyResources(this.toolTipContainer2, "toolTipContainer2");
|
|
this.toolTipContainer2.Name = "toolTipContainer2";
|
|
//
|
|
// buttonDisableHa
|
|
//
|
|
resources.ApplyResources(this.buttonDisableHa, "buttonDisableHa");
|
|
this.buttonDisableHa.Name = "buttonDisableHa";
|
|
this.buttonDisableHa.UseVisualStyleBackColor = true;
|
|
//
|
|
// tableLatencies
|
|
//
|
|
resources.ApplyResources(this.tableLatencies, "tableLatencies");
|
|
this.tableLatencies.Name = "tableLatencies";
|
|
//
|
|
// customListPanel
|
|
//
|
|
this.customListPanel.BackColor = System.Drawing.Color.Transparent;
|
|
resources.ApplyResources(this.customListPanel, "customListPanel");
|
|
this.customListPanel.Name = "customListPanel";
|
|
//
|
|
// TitleLabel
|
|
//
|
|
resources.ApplyResources(this.TitleLabel, "TitleLabel");
|
|
this.TitleLabel.ForeColor = System.Drawing.Color.White;
|
|
this.TitleLabel.Name = "TitleLabel";
|
|
//
|
|
// HAPage
|
|
//
|
|
resources.ApplyResources(this, "$this");
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
|
|
this.BackColor = System.Drawing.Color.Transparent;
|
|
this.DoubleBuffered = true;
|
|
this.Name = "HAPage";
|
|
this.pageContainerPanel.ResumeLayout(false);
|
|
this.tableLayoutPanel1.ResumeLayout(false);
|
|
this.tableLayoutPanel1.PerformLayout();
|
|
this.flowLayoutPanel1.ResumeLayout(false);
|
|
this.toolTipContainer1.ResumeLayout(false);
|
|
this.toolTipContainer2.ResumeLayout(false);
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.Label label6;
|
|
private System.Windows.Forms.Label label10;
|
|
private System.Windows.Forms.Label label9;
|
|
private System.Windows.Forms.Label label8;
|
|
private System.Windows.Forms.Label label7;
|
|
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
|
|
private System.Windows.Forms.Label labelStatus;
|
|
private System.Windows.Forms.Label TitleLabel;
|
|
private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel1;
|
|
private XenAdmin.Commands.CommandButton buttonDisableHa;
|
|
private XenAdmin.Commands.CommandButton buttonConfigure;
|
|
private System.Windows.Forms.TableLayoutPanel tableLatencies;
|
|
private XenAdmin.Controls.CustomListPanel customListPanel;
|
|
private Controls.ToolTipContainer toolTipContainer1;
|
|
private Controls.ToolTipContainer toolTipContainer2;
|
|
}
|
|
}
|