mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-11-25 14:27:26 +01:00
8ea7e73b55
This should cover everything except updating the tests to use more recent servers.
275 lines
13 KiB
C#
275 lines
13 KiB
C#
namespace XenAdmin.SettingsPanels
|
|
{
|
|
partial class CPUMemoryEditPage
|
|
{
|
|
/// <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(CPUMemoryEditPage));
|
|
this.lblSliderHighest = new System.Windows.Forms.Label();
|
|
this.lblSliderNormal = new System.Windows.Forms.Label();
|
|
this.lblSliderLowest = new System.Windows.Forms.Label();
|
|
this.lblPriority = new System.Windows.Forms.Label();
|
|
this.transparentTrackBar1 = new XenAdmin.Controls.TransparentTrackBar();
|
|
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
|
this.labelInvalidVCPUWarning = new System.Windows.Forms.Label();
|
|
this.comboBoxTopology = new XenAdmin.Controls.CPUTopologyComboBox();
|
|
this.labelTopology = new System.Windows.Forms.Label();
|
|
this.MemWarningLabel = new System.Windows.Forms.Label();
|
|
this.panel2 = new System.Windows.Forms.Panel();
|
|
this.lblMB = new System.Windows.Forms.Label();
|
|
this.nudMemory = new System.Windows.Forms.NumericUpDown();
|
|
this.panel1 = new System.Windows.Forms.Panel();
|
|
this.lblVCPUs = new System.Windows.Forms.Label();
|
|
this.lblVcpuWarning = new System.Windows.Forms.LinkLabel();
|
|
this.lblMemory = new System.Windows.Forms.Label();
|
|
this.nudVCPUs = new System.Windows.Forms.NumericUpDown();
|
|
this.VCPUWarningLabel = new System.Windows.Forms.Label();
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
this.tableLayoutPanel1.SuspendLayout();
|
|
this.panel2.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.nudMemory)).BeginInit();
|
|
this.panel1.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.nudVCPUs)).BeginInit();
|
|
this.SuspendLayout();
|
|
//
|
|
// lblSliderHighest
|
|
//
|
|
resources.ApplyResources(this.lblSliderHighest, "lblSliderHighest");
|
|
this.lblSliderHighest.Name = "lblSliderHighest";
|
|
//
|
|
// lblSliderNormal
|
|
//
|
|
resources.ApplyResources(this.lblSliderNormal, "lblSliderNormal");
|
|
this.lblSliderNormal.Name = "lblSliderNormal";
|
|
//
|
|
// lblSliderLowest
|
|
//
|
|
resources.ApplyResources(this.lblSliderLowest, "lblSliderLowest");
|
|
this.lblSliderLowest.Name = "lblSliderLowest";
|
|
//
|
|
// lblPriority
|
|
//
|
|
resources.ApplyResources(this.lblPriority, "lblPriority");
|
|
this.tableLayoutPanel1.SetColumnSpan(this.lblPriority, 2);
|
|
this.lblPriority.Name = "lblPriority";
|
|
//
|
|
// transparentTrackBar1
|
|
//
|
|
resources.ApplyResources(this.transparentTrackBar1, "transparentTrackBar1");
|
|
this.transparentTrackBar1.BackColor = System.Drawing.Color.Transparent;
|
|
this.transparentTrackBar1.Name = "transparentTrackBar1";
|
|
this.transparentTrackBar1.TabStop = false;
|
|
//
|
|
// tableLayoutPanel1
|
|
//
|
|
this.tableLayoutPanel1.BackColor = System.Drawing.Color.Transparent;
|
|
resources.ApplyResources(this.tableLayoutPanel1, "tableLayoutPanel1");
|
|
this.tableLayoutPanel1.Controls.Add(this.labelInvalidVCPUWarning, 1, 5);
|
|
this.tableLayoutPanel1.Controls.Add(this.comboBoxTopology, 1, 4);
|
|
this.tableLayoutPanel1.Controls.Add(this.labelTopology, 0, 4);
|
|
this.tableLayoutPanel1.Controls.Add(this.MemWarningLabel, 2, 8);
|
|
this.tableLayoutPanel1.Controls.Add(this.panel2, 1, 8);
|
|
this.tableLayoutPanel1.Controls.Add(this.panel1, 0, 7);
|
|
this.tableLayoutPanel1.Controls.Add(this.lblPriority, 0, 6);
|
|
this.tableLayoutPanel1.Controls.Add(this.lblVCPUs, 0, 2);
|
|
this.tableLayoutPanel1.Controls.Add(this.lblVcpuWarning, 0, 1);
|
|
this.tableLayoutPanel1.Controls.Add(this.lblMemory, 0, 8);
|
|
this.tableLayoutPanel1.Controls.Add(this.nudVCPUs, 1, 2);
|
|
this.tableLayoutPanel1.Controls.Add(this.VCPUWarningLabel, 2, 2);
|
|
this.tableLayoutPanel1.Controls.Add(this.label1, 0, 0);
|
|
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
|
|
//
|
|
// labelInvalidVCPUWarning
|
|
//
|
|
resources.ApplyResources(this.labelInvalidVCPUWarning, "labelInvalidVCPUWarning");
|
|
this.tableLayoutPanel1.SetColumnSpan(this.labelInvalidVCPUWarning, 2);
|
|
this.labelInvalidVCPUWarning.ForeColor = System.Drawing.Color.Red;
|
|
this.labelInvalidVCPUWarning.Name = "labelInvalidVCPUWarning";
|
|
//
|
|
// comboBoxTopology
|
|
//
|
|
this.tableLayoutPanel1.SetColumnSpan(this.comboBoxTopology, 2);
|
|
this.comboBoxTopology.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
resources.ApplyResources(this.comboBoxTopology, "comboBoxTopology");
|
|
this.comboBoxTopology.FormattingEnabled = true;
|
|
this.comboBoxTopology.Name = "comboBoxTopology";
|
|
this.comboBoxTopology.SelectedIndexChanged += new System.EventHandler(this.comboBoxTopology_SelectedIndexChanged);
|
|
//
|
|
// labelTopology
|
|
//
|
|
resources.ApplyResources(this.labelTopology, "labelTopology");
|
|
this.labelTopology.Name = "labelTopology";
|
|
//
|
|
// MemWarningLabel
|
|
//
|
|
resources.ApplyResources(this.MemWarningLabel, "MemWarningLabel");
|
|
this.MemWarningLabel.ForeColor = System.Drawing.Color.Red;
|
|
this.MemWarningLabel.Name = "MemWarningLabel";
|
|
this.tableLayoutPanel1.SetRowSpan(this.MemWarningLabel, 2);
|
|
//
|
|
// panel2
|
|
//
|
|
resources.ApplyResources(this.panel2, "panel2");
|
|
this.panel2.Controls.Add(this.lblMB);
|
|
this.panel2.Controls.Add(this.nudMemory);
|
|
this.panel2.Name = "panel2";
|
|
//
|
|
// lblMB
|
|
//
|
|
resources.ApplyResources(this.lblMB, "lblMB");
|
|
this.lblMB.Name = "lblMB";
|
|
//
|
|
// nudMemory
|
|
//
|
|
resources.ApplyResources(this.nudMemory, "nudMemory");
|
|
this.nudMemory.Maximum = new decimal(new int[] {
|
|
1048576,
|
|
0,
|
|
0,
|
|
0});
|
|
this.nudMemory.Minimum = new decimal(new int[] {
|
|
64,
|
|
0,
|
|
0,
|
|
0});
|
|
this.nudMemory.Name = "nudMemory";
|
|
this.nudMemory.Value = new decimal(new int[] {
|
|
64,
|
|
0,
|
|
0,
|
|
0});
|
|
this.nudMemory.ValueChanged += new System.EventHandler(this.nudMemory_ValueChanged);
|
|
//
|
|
// panel1
|
|
//
|
|
resources.ApplyResources(this.panel1, "panel1");
|
|
this.tableLayoutPanel1.SetColumnSpan(this.panel1, 3);
|
|
this.panel1.Controls.Add(this.lblSliderHighest);
|
|
this.panel1.Controls.Add(this.lblSliderNormal);
|
|
this.panel1.Controls.Add(this.lblSliderLowest);
|
|
this.panel1.Controls.Add(this.transparentTrackBar1);
|
|
this.panel1.Name = "panel1";
|
|
//
|
|
// lblVCPUs
|
|
//
|
|
resources.ApplyResources(this.lblVCPUs, "lblVCPUs");
|
|
this.lblVCPUs.Name = "lblVCPUs";
|
|
//
|
|
// lblVcpuWarning
|
|
//
|
|
resources.ApplyResources(this.lblVcpuWarning, "lblVcpuWarning");
|
|
this.tableLayoutPanel1.SetColumnSpan(this.lblVcpuWarning, 2);
|
|
this.lblVcpuWarning.LinkColor = System.Drawing.SystemColors.ActiveCaption;
|
|
this.lblVcpuWarning.Name = "lblVcpuWarning";
|
|
this.lblVcpuWarning.TabStop = true;
|
|
this.lblVcpuWarning.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.lblVcpuWarning_LinkClicked);
|
|
//
|
|
// lblMemory
|
|
//
|
|
resources.ApplyResources(this.lblMemory, "lblMemory");
|
|
this.lblMemory.Name = "lblMemory";
|
|
//
|
|
// nudVCPUs
|
|
//
|
|
resources.ApplyResources(this.nudVCPUs, "nudVCPUs");
|
|
this.nudVCPUs.Maximum = new decimal(new int[] {
|
|
32,
|
|
0,
|
|
0,
|
|
0});
|
|
this.nudVCPUs.Minimum = new decimal(new int[] {
|
|
1,
|
|
0,
|
|
0,
|
|
0});
|
|
this.nudVCPUs.Name = "nudVCPUs";
|
|
this.nudVCPUs.Value = new decimal(new int[] {
|
|
1,
|
|
0,
|
|
0,
|
|
0});
|
|
this.nudVCPUs.ValueChanged += new System.EventHandler(this.nudVCPUs_ValueChanged);
|
|
//
|
|
// VCPUWarningLabel
|
|
//
|
|
resources.ApplyResources(this.VCPUWarningLabel, "VCPUWarningLabel");
|
|
this.VCPUWarningLabel.ForeColor = System.Drawing.Color.Red;
|
|
this.VCPUWarningLabel.Name = "VCPUWarningLabel";
|
|
this.tableLayoutPanel1.SetRowSpan(this.VCPUWarningLabel, 2);
|
|
//
|
|
// label1
|
|
//
|
|
resources.ApplyResources(this.label1, "label1");
|
|
this.tableLayoutPanel1.SetColumnSpan(this.label1, 3);
|
|
this.label1.Name = "label1";
|
|
//
|
|
// CPUMemoryEditPage
|
|
//
|
|
resources.ApplyResources(this, "$this");
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
|
|
this.BackColor = System.Drawing.SystemColors.Control;
|
|
this.Controls.Add(this.tableLayoutPanel1);
|
|
this.DoubleBuffered = true;
|
|
this.ForeColor = System.Drawing.SystemColors.ControlText;
|
|
this.Name = "CPUMemoryEditPage";
|
|
this.tableLayoutPanel1.ResumeLayout(false);
|
|
this.tableLayoutPanel1.PerformLayout();
|
|
this.panel2.ResumeLayout(false);
|
|
this.panel2.PerformLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.nudMemory)).EndInit();
|
|
this.panel1.ResumeLayout(false);
|
|
this.panel1.PerformLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.nudVCPUs)).EndInit();
|
|
this.ResumeLayout(false);
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
|
|
public System.Windows.Forms.NumericUpDown nudMemory;
|
|
private System.Windows.Forms.Label lblMB;
|
|
public System.Windows.Forms.NumericUpDown nudVCPUs;
|
|
private System.Windows.Forms.Panel panel1;
|
|
private System.Windows.Forms.Label lblSliderHighest;
|
|
private System.Windows.Forms.Label lblSliderNormal;
|
|
private System.Windows.Forms.Label lblSliderLowest;
|
|
private System.Windows.Forms.Label lblPriority;
|
|
private System.Windows.Forms.Label lblVCPUs;
|
|
private System.Windows.Forms.Label lblMemory;
|
|
private System.Windows.Forms.LinkLabel lblVcpuWarning;
|
|
private XenAdmin.Controls.TransparentTrackBar transparentTrackBar1;
|
|
private System.Windows.Forms.Panel panel2;
|
|
private System.Windows.Forms.Label VCPUWarningLabel;
|
|
private System.Windows.Forms.Label MemWarningLabel;
|
|
private System.Windows.Forms.Label label1;
|
|
private System.Windows.Forms.Label labelTopology;
|
|
private XenAdmin.Controls.CPUTopologyComboBox comboBoxTopology;
|
|
private System.Windows.Forms.Label labelInvalidVCPUWarning;
|
|
}
|
|
}
|