mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-11-23 12:30:50 +01:00
1e6197022e
* Hid properties from the designer and renamed them because they give the wrong impression. * Fixed some inefficiencies around the NetworkComboboxItem. - Move NetworkComboBoxItem into the NetworkComboBox class. - Moved XenAdmin.Dialogs.NetworkComboBoxItem into the VIFDialog class and made it private to avoid ambiguousness with the public XenAdmin.Controls.NetworkComboBox.NetworkComboboxItem. - Create a NetworkComboBoxItem only if needed and assign its name at construction time. - Add method to select a NetworkComboBoxItem and property to return the SelectedNetwork. * CA-339233: Do not allow selection of networks while they're locked. Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
188 lines
9.5 KiB
C#
188 lines
9.5 KiB
C#
namespace XenAdmin.SettingsPanels
|
|
{
|
|
partial class ClusteringEditPage
|
|
{
|
|
/// <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(ClusteringEditPage));
|
|
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
|
this.labelTitle = new XenAdmin.Controls.Common.AutoHeightLabel();
|
|
this.CheckBoxEnableClustering = new System.Windows.Forms.CheckBox();
|
|
this.labelNetwork = new System.Windows.Forms.Label();
|
|
this.comboBoxNetwork = new XenAdmin.Controls.NetworkComboBox();
|
|
this.tableLayoutInfo = new System.Windows.Forms.TableLayoutPanel();
|
|
this.pictureBoxInfo2 = new System.Windows.Forms.PictureBox();
|
|
this.pictureBoxInfo1 = new System.Windows.Forms.PictureBox();
|
|
this.labelWarning = new System.Windows.Forms.Label();
|
|
this.labelInfo = new System.Windows.Forms.Label();
|
|
this.labelHostCountWarning = new System.Windows.Forms.Label();
|
|
this.tableLayoutPanelNetworkWarning = new System.Windows.Forms.TableLayoutPanel();
|
|
this.pictureBox1 = new System.Windows.Forms.PictureBox();
|
|
this.labelInconsistentNetwork = new System.Windows.Forms.Label();
|
|
this.tableLayoutPanel1.SuspendLayout();
|
|
this.tableLayoutInfo.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.pictureBoxInfo2)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.pictureBoxInfo1)).BeginInit();
|
|
this.tableLayoutPanelNetworkWarning.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
|
|
this.SuspendLayout();
|
|
//
|
|
// tableLayoutPanel1
|
|
//
|
|
resources.ApplyResources(this.tableLayoutPanel1, "tableLayoutPanel1");
|
|
this.tableLayoutPanel1.Controls.Add(this.labelTitle, 0, 0);
|
|
this.tableLayoutPanel1.Controls.Add(this.CheckBoxEnableClustering, 0, 1);
|
|
this.tableLayoutPanel1.Controls.Add(this.labelNetwork, 0, 2);
|
|
this.tableLayoutPanel1.Controls.Add(this.comboBoxNetwork, 1, 2);
|
|
this.tableLayoutPanel1.Controls.Add(this.tableLayoutInfo, 0, 4);
|
|
this.tableLayoutPanel1.Controls.Add(this.tableLayoutPanelNetworkWarning, 1, 3);
|
|
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
|
|
//
|
|
// labelTitle
|
|
//
|
|
resources.ApplyResources(this.labelTitle, "labelTitle");
|
|
this.tableLayoutPanel1.SetColumnSpan(this.labelTitle, 2);
|
|
this.labelTitle.Name = "labelTitle";
|
|
//
|
|
// CheckBoxEnableClustering
|
|
//
|
|
resources.ApplyResources(this.CheckBoxEnableClustering, "CheckBoxEnableClustering");
|
|
this.tableLayoutPanel1.SetColumnSpan(this.CheckBoxEnableClustering, 2);
|
|
this.CheckBoxEnableClustering.Name = "CheckBoxEnableClustering";
|
|
this.CheckBoxEnableClustering.UseVisualStyleBackColor = true;
|
|
//
|
|
// labelNetwork
|
|
//
|
|
resources.ApplyResources(this.labelNetwork, "labelNetwork");
|
|
this.labelNetwork.Name = "labelNetwork";
|
|
//
|
|
// comboBoxNetwork
|
|
//
|
|
this.comboBoxNetwork.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
this.comboBoxNetwork.FormattingEnabled = true;
|
|
resources.ApplyResources(this.comboBoxNetwork, "comboBoxNetwork");
|
|
this.comboBoxNetwork.Name = "comboBoxNetwork";
|
|
this.comboBoxNetwork.SelectedIndexChanged += new System.EventHandler(this.comboBoxNetwork_SelectedIndexChanged);
|
|
//
|
|
// tableLayoutInfo
|
|
//
|
|
resources.ApplyResources(this.tableLayoutInfo, "tableLayoutInfo");
|
|
this.tableLayoutPanel1.SetColumnSpan(this.tableLayoutInfo, 2);
|
|
this.tableLayoutInfo.Controls.Add(this.pictureBoxInfo2, 0, 1);
|
|
this.tableLayoutInfo.Controls.Add(this.pictureBoxInfo1, 0, 0);
|
|
this.tableLayoutInfo.Controls.Add(this.labelWarning, 1, 0);
|
|
this.tableLayoutInfo.Controls.Add(this.labelInfo, 1, 1);
|
|
this.tableLayoutInfo.Controls.Add(this.labelHostCountWarning, 1, 2);
|
|
this.tableLayoutInfo.Name = "tableLayoutInfo";
|
|
//
|
|
// pictureBoxInfo2
|
|
//
|
|
resources.ApplyResources(this.pictureBoxInfo2, "pictureBoxInfo2");
|
|
this.pictureBoxInfo2.Image = global::XenAdmin.Properties.Resources._000_Info3_h32bit_16;
|
|
this.pictureBoxInfo2.Name = "pictureBoxInfo2";
|
|
this.pictureBoxInfo2.TabStop = false;
|
|
//
|
|
// pictureBoxInfo1
|
|
//
|
|
resources.ApplyResources(this.pictureBoxInfo1, "pictureBoxInfo1");
|
|
this.pictureBoxInfo1.Image = global::XenAdmin.Properties.Resources._000_Info3_h32bit_16;
|
|
this.pictureBoxInfo1.Name = "pictureBoxInfo1";
|
|
this.pictureBoxInfo1.TabStop = false;
|
|
//
|
|
// labelWarning
|
|
//
|
|
resources.ApplyResources(this.labelWarning, "labelWarning");
|
|
this.labelWarning.Name = "labelWarning";
|
|
//
|
|
// labelInfo
|
|
//
|
|
resources.ApplyResources(this.labelInfo, "labelInfo");
|
|
this.labelInfo.Name = "labelInfo";
|
|
//
|
|
// labelHostCountWarning
|
|
//
|
|
resources.ApplyResources(this.labelHostCountWarning, "labelHostCountWarning");
|
|
this.labelHostCountWarning.Name = "labelHostCountWarning";
|
|
//
|
|
// tableLayoutPanelNetworkWarning
|
|
//
|
|
resources.ApplyResources(this.tableLayoutPanelNetworkWarning, "tableLayoutPanelNetworkWarning");
|
|
this.tableLayoutPanelNetworkWarning.Controls.Add(this.pictureBox1, 0, 0);
|
|
this.tableLayoutPanelNetworkWarning.Controls.Add(this.labelInconsistentNetwork, 1, 0);
|
|
this.tableLayoutPanelNetworkWarning.Name = "tableLayoutPanelNetworkWarning";
|
|
//
|
|
// pictureBox1
|
|
//
|
|
this.pictureBox1.Image = global::XenAdmin.Properties.Resources._000_Alert2_h32bit_16;
|
|
resources.ApplyResources(this.pictureBox1, "pictureBox1");
|
|
this.pictureBox1.Name = "pictureBox1";
|
|
this.pictureBox1.TabStop = false;
|
|
//
|
|
// labelInconsistentNetwork
|
|
//
|
|
resources.ApplyResources(this.labelInconsistentNetwork, "labelInconsistentNetwork");
|
|
this.labelInconsistentNetwork.Name = "labelInconsistentNetwork";
|
|
//
|
|
// ClusteringEditPage
|
|
//
|
|
resources.ApplyResources(this, "$this");
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
|
|
this.Controls.Add(this.tableLayoutPanel1);
|
|
this.Name = "ClusteringEditPage";
|
|
this.tableLayoutPanel1.ResumeLayout(false);
|
|
this.tableLayoutPanel1.PerformLayout();
|
|
this.tableLayoutInfo.ResumeLayout(false);
|
|
this.tableLayoutInfo.PerformLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.pictureBoxInfo2)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.pictureBoxInfo1)).EndInit();
|
|
this.tableLayoutPanelNetworkWarning.ResumeLayout(false);
|
|
this.tableLayoutPanelNetworkWarning.PerformLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
|
|
this.ResumeLayout(false);
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
|
|
private Controls.Common.AutoHeightLabel labelTitle;
|
|
private System.Windows.Forms.CheckBox CheckBoxEnableClustering;
|
|
private System.Windows.Forms.Label labelNetwork;
|
|
private System.Windows.Forms.PictureBox pictureBoxInfo1;
|
|
private System.Windows.Forms.Label labelWarning;
|
|
private Controls.NetworkComboBox comboBoxNetwork;
|
|
private System.Windows.Forms.TableLayoutPanel tableLayoutInfo;
|
|
private System.Windows.Forms.Label labelInfo;
|
|
private System.Windows.Forms.Label labelHostCountWarning;
|
|
private System.Windows.Forms.PictureBox pictureBoxInfo2;
|
|
private System.Windows.Forms.TableLayoutPanel tableLayoutPanelNetworkWarning;
|
|
private System.Windows.Forms.PictureBox pictureBox1;
|
|
private System.Windows.Forms.Label labelInconsistentNetwork;
|
|
|
|
}
|
|
}
|