mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-11-25 14:27:26 +01:00
CP-12617: Port CP-12191 to trunk
Add a XenCenter option to enable the old behaviour for the default search for servers Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
This commit is contained in:
parent
617ad06f1f
commit
6168c1bab8
@ -1,6 +1,6 @@
|
||||
namespace XenAdmin.Dialogs.OptionsPages
|
||||
{
|
||||
partial class GraphsOptionsPage
|
||||
partial class DisplayOptionsPage
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
@ -28,84 +28,140 @@ namespace XenAdmin.Dialogs.OptionsPages
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(GraphsOptionsPage));
|
||||
this.GraphsTableLayoutPanel = new System.Windows.Forms.TableLayoutPanel();
|
||||
this.GraphTypeGroupBox = new XenAdmin.Controls.DecentGroupBox();
|
||||
this.pictureBox2 = new System.Windows.Forms.PictureBox();
|
||||
this.pictureBox1 = new System.Windows.Forms.PictureBox();
|
||||
this.GraphAreasRadioButton = new System.Windows.Forms.RadioButton();
|
||||
this.GraphLinesRadioButton = new System.Windows.Forms.RadioButton();
|
||||
this.label5 = new System.Windows.Forms.Label();
|
||||
this.GraphsTableLayoutPanel.SuspendLayout();
|
||||
this.GraphTypeGroupBox.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// GraphsTableLayoutPanel
|
||||
//
|
||||
resources.ApplyResources(this.GraphsTableLayoutPanel, "GraphsTableLayoutPanel");
|
||||
this.GraphsTableLayoutPanel.Controls.Add(this.GraphTypeGroupBox, 0, 1);
|
||||
this.GraphsTableLayoutPanel.Controls.Add(this.label5, 0, 0);
|
||||
this.GraphsTableLayoutPanel.Name = "GraphsTableLayoutPanel";
|
||||
//
|
||||
// GraphTypeGroupBox
|
||||
//
|
||||
resources.ApplyResources(this.GraphTypeGroupBox, "GraphTypeGroupBox");
|
||||
this.GraphTypeGroupBox.Controls.Add(this.pictureBox2);
|
||||
this.GraphTypeGroupBox.Controls.Add(this.pictureBox1);
|
||||
this.GraphTypeGroupBox.Controls.Add(this.GraphAreasRadioButton);
|
||||
this.GraphTypeGroupBox.Controls.Add(this.GraphLinesRadioButton);
|
||||
this.GraphTypeGroupBox.Name = "GraphTypeGroupBox";
|
||||
this.GraphTypeGroupBox.TabStop = false;
|
||||
//
|
||||
// pictureBox2
|
||||
//
|
||||
resources.ApplyResources(this.pictureBox2, "pictureBox2");
|
||||
this.pictureBox2.Image = global::XenAdmin.Properties.Resources.graphline;
|
||||
this.pictureBox2.Name = "pictureBox2";
|
||||
this.pictureBox2.TabStop = false;
|
||||
//
|
||||
// pictureBox1
|
||||
//
|
||||
resources.ApplyResources(this.pictureBox1, "pictureBox1");
|
||||
this.pictureBox1.Image = global::XenAdmin.Properties.Resources.grapharea;
|
||||
this.pictureBox1.Name = "pictureBox1";
|
||||
this.pictureBox1.TabStop = false;
|
||||
//
|
||||
// GraphAreasRadioButton
|
||||
//
|
||||
resources.ApplyResources(this.GraphAreasRadioButton, "GraphAreasRadioButton");
|
||||
this.GraphAreasRadioButton.Name = "GraphAreasRadioButton";
|
||||
this.GraphAreasRadioButton.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// GraphLinesRadioButton
|
||||
//
|
||||
resources.ApplyResources(this.GraphLinesRadioButton, "GraphLinesRadioButton");
|
||||
this.GraphLinesRadioButton.Checked = true;
|
||||
this.GraphLinesRadioButton.Name = "GraphLinesRadioButton";
|
||||
this.GraphLinesRadioButton.TabStop = true;
|
||||
this.GraphLinesRadioButton.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// label5
|
||||
//
|
||||
resources.ApplyResources(this.label5, "label5");
|
||||
this.label5.Name = "label5";
|
||||
//
|
||||
// GraphsOptionsPage
|
||||
//
|
||||
resources.ApplyResources(this, "$this");
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
|
||||
this.Controls.Add(this.GraphsTableLayoutPanel);
|
||||
this.Name = "GraphsOptionsPage";
|
||||
this.GraphsTableLayoutPanel.ResumeLayout(false);
|
||||
this.GraphsTableLayoutPanel.PerformLayout();
|
||||
this.GraphTypeGroupBox.ResumeLayout(false);
|
||||
this.GraphTypeGroupBox.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(DisplayOptionsPage));
|
||||
this.GraphsTableLayoutPanel = new System.Windows.Forms.TableLayoutPanel();
|
||||
this.SearchGroupBox = new XenAdmin.Controls.DecentGroupBox();
|
||||
this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.showWholePoolOptionForSearchRadioButton = new System.Windows.Forms.RadioButton();
|
||||
this.showHostOnlyOptionForSearchRadioButton = new System.Windows.Forms.RadioButton();
|
||||
this.GraphTypeGroupBox = new XenAdmin.Controls.DecentGroupBox();
|
||||
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
||||
this.label5 = new System.Windows.Forms.Label();
|
||||
this.GraphAreasRadioButton = new System.Windows.Forms.RadioButton();
|
||||
this.pictureBox2 = new System.Windows.Forms.PictureBox();
|
||||
this.GraphLinesRadioButton = new System.Windows.Forms.RadioButton();
|
||||
this.pictureBox1 = new System.Windows.Forms.PictureBox();
|
||||
this.GraphsTableLayoutPanel.SuspendLayout();
|
||||
this.SearchGroupBox.SuspendLayout();
|
||||
this.tableLayoutPanel2.SuspendLayout();
|
||||
this.GraphTypeGroupBox.SuspendLayout();
|
||||
this.tableLayoutPanel1.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// GraphsTableLayoutPanel
|
||||
//
|
||||
resources.ApplyResources(this.GraphsTableLayoutPanel, "GraphsTableLayoutPanel");
|
||||
this.GraphsTableLayoutPanel.Controls.Add(this.SearchGroupBox, 0, 3);
|
||||
this.GraphsTableLayoutPanel.Controls.Add(this.GraphTypeGroupBox, 0, 1);
|
||||
this.GraphsTableLayoutPanel.Name = "GraphsTableLayoutPanel";
|
||||
//
|
||||
// SearchGroupBox
|
||||
//
|
||||
resources.ApplyResources(this.SearchGroupBox, "SearchGroupBox");
|
||||
this.SearchGroupBox.Controls.Add(this.tableLayoutPanel2);
|
||||
this.SearchGroupBox.Name = "SearchGroupBox";
|
||||
this.SearchGroupBox.TabStop = false;
|
||||
//
|
||||
// tableLayoutPanel2
|
||||
//
|
||||
resources.ApplyResources(this.tableLayoutPanel2, "tableLayoutPanel2");
|
||||
this.tableLayoutPanel2.Controls.Add(this.label1, 0, 0);
|
||||
this.tableLayoutPanel2.Controls.Add(this.showWholePoolOptionForSearchRadioButton, 0, 2);
|
||||
this.tableLayoutPanel2.Controls.Add(this.showHostOnlyOptionForSearchRadioButton, 0, 1);
|
||||
this.tableLayoutPanel2.Name = "tableLayoutPanel2";
|
||||
//
|
||||
// label1
|
||||
//
|
||||
resources.ApplyResources(this.label1, "label1");
|
||||
this.label1.Name = "label1";
|
||||
//
|
||||
// showWholePoolOptionForSearchRadioButton
|
||||
//
|
||||
resources.ApplyResources(this.showWholePoolOptionForSearchRadioButton, "showWholePoolOptionForSearchRadioButton");
|
||||
this.showWholePoolOptionForSearchRadioButton.Name = "showWholePoolOptionForSearchRadioButton";
|
||||
this.showWholePoolOptionForSearchRadioButton.TabStop = true;
|
||||
this.showWholePoolOptionForSearchRadioButton.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// showHostOnlyOptionForSearchRadioButton
|
||||
//
|
||||
resources.ApplyResources(this.showHostOnlyOptionForSearchRadioButton, "showHostOnlyOptionForSearchRadioButton");
|
||||
this.showHostOnlyOptionForSearchRadioButton.Name = "showHostOnlyOptionForSearchRadioButton";
|
||||
this.showHostOnlyOptionForSearchRadioButton.TabStop = true;
|
||||
this.showHostOnlyOptionForSearchRadioButton.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// GraphTypeGroupBox
|
||||
//
|
||||
resources.ApplyResources(this.GraphTypeGroupBox, "GraphTypeGroupBox");
|
||||
this.GraphTypeGroupBox.Controls.Add(this.tableLayoutPanel1);
|
||||
this.GraphTypeGroupBox.Name = "GraphTypeGroupBox";
|
||||
this.GraphTypeGroupBox.TabStop = false;
|
||||
//
|
||||
// tableLayoutPanel1
|
||||
//
|
||||
resources.ApplyResources(this.tableLayoutPanel1, "tableLayoutPanel1");
|
||||
this.tableLayoutPanel1.Controls.Add(this.label5, 0, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.GraphAreasRadioButton, 0, 1);
|
||||
this.tableLayoutPanel1.Controls.Add(this.pictureBox2, 0, 4);
|
||||
this.tableLayoutPanel1.Controls.Add(this.GraphLinesRadioButton, 0, 3);
|
||||
this.tableLayoutPanel1.Controls.Add(this.pictureBox1, 0, 2);
|
||||
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
|
||||
//
|
||||
// label5
|
||||
//
|
||||
resources.ApplyResources(this.label5, "label5");
|
||||
this.label5.Name = "label5";
|
||||
//
|
||||
// GraphAreasRadioButton
|
||||
//
|
||||
resources.ApplyResources(this.GraphAreasRadioButton, "GraphAreasRadioButton");
|
||||
this.GraphAreasRadioButton.Name = "GraphAreasRadioButton";
|
||||
this.GraphAreasRadioButton.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// pictureBox2
|
||||
//
|
||||
resources.ApplyResources(this.pictureBox2, "pictureBox2");
|
||||
this.pictureBox2.Image = global::XenAdmin.Properties.Resources.graphline;
|
||||
this.pictureBox2.Name = "pictureBox2";
|
||||
this.pictureBox2.TabStop = false;
|
||||
//
|
||||
// GraphLinesRadioButton
|
||||
//
|
||||
resources.ApplyResources(this.GraphLinesRadioButton, "GraphLinesRadioButton");
|
||||
this.GraphLinesRadioButton.Checked = true;
|
||||
this.GraphLinesRadioButton.Name = "GraphLinesRadioButton";
|
||||
this.GraphLinesRadioButton.TabStop = true;
|
||||
this.GraphLinesRadioButton.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// pictureBox1
|
||||
//
|
||||
resources.ApplyResources(this.pictureBox1, "pictureBox1");
|
||||
this.pictureBox1.Image = global::XenAdmin.Properties.Resources.grapharea;
|
||||
this.pictureBox1.Name = "pictureBox1";
|
||||
this.pictureBox1.TabStop = false;
|
||||
//
|
||||
// DisplayOptionsPage
|
||||
//
|
||||
resources.ApplyResources(this, "$this");
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
|
||||
this.Controls.Add(this.GraphsTableLayoutPanel);
|
||||
this.Name = "DisplayOptionsPage";
|
||||
this.GraphsTableLayoutPanel.ResumeLayout(false);
|
||||
this.GraphsTableLayoutPanel.PerformLayout();
|
||||
this.SearchGroupBox.ResumeLayout(false);
|
||||
this.SearchGroupBox.PerformLayout();
|
||||
this.tableLayoutPanel2.ResumeLayout(false);
|
||||
this.tableLayoutPanel2.PerformLayout();
|
||||
this.GraphTypeGroupBox.ResumeLayout(false);
|
||||
this.GraphTypeGroupBox.PerformLayout();
|
||||
this.tableLayoutPanel1.ResumeLayout(false);
|
||||
this.tableLayoutPanel1.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
|
||||
@ -113,10 +169,16 @@ namespace XenAdmin.Dialogs.OptionsPages
|
||||
|
||||
private System.Windows.Forms.TableLayoutPanel GraphsTableLayoutPanel;
|
||||
private XenAdmin.Controls.DecentGroupBox GraphTypeGroupBox;
|
||||
private System.Windows.Forms.PictureBox pictureBox2;
|
||||
private System.Windows.Forms.PictureBox pictureBox1;
|
||||
private System.Windows.Forms.RadioButton GraphAreasRadioButton;
|
||||
private System.Windows.Forms.RadioButton GraphLinesRadioButton;
|
||||
private System.Windows.Forms.Label label5;
|
||||
private System.Windows.Forms.Label label5;
|
||||
private Controls.DecentGroupBox SearchGroupBox;
|
||||
private System.Windows.Forms.RadioButton showWholePoolOptionForSearchRadioButton;
|
||||
private System.Windows.Forms.RadioButton showHostOnlyOptionForSearchRadioButton;
|
||||
private System.Windows.Forms.Label label1;
|
||||
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
|
||||
private System.Windows.Forms.PictureBox pictureBox2;
|
||||
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel2;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user