mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-11-25 14:27:26 +01:00
95cd300e61
the spinner with the surrounding controls on a parent control/form. Also, removed the icon from the spinner because in the majority of implementations it was invisible and the extra space was just complicating the alignment of the surrounding controls. Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
113 lines
5.0 KiB
C#
113 lines
5.0 KiB
C#
namespace XenAdmin.Controls.Ballooning
|
|
{
|
|
partial class VMMemoryControlsAdvanced
|
|
{
|
|
/// <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 Windows Form 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(VMMemoryControlsAdvanced));
|
|
this.spinnerPanel = new System.Windows.Forms.TableLayoutPanel();
|
|
this.memorySpinnerDynMin = new XenAdmin.Controls.Ballooning.MemorySpinner();
|
|
this.memorySpinnerDynMax = new XenAdmin.Controls.Ballooning.MemorySpinner();
|
|
this.memorySpinnerStatMax = new XenAdmin.Controls.Ballooning.MemorySpinner();
|
|
this.labelDynMin = new System.Windows.Forms.Label();
|
|
this.labelDynMax = new System.Windows.Forms.Label();
|
|
this.labelStatMax = new System.Windows.Forms.Label();
|
|
this.spinnerPanel.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
// spinnerPanel
|
|
//
|
|
resources.ApplyResources(this.spinnerPanel, "spinnerPanel");
|
|
this.spinnerPanel.Controls.Add(this.memorySpinnerDynMin, 1, 0);
|
|
this.spinnerPanel.Controls.Add(this.memorySpinnerDynMax, 1, 1);
|
|
this.spinnerPanel.Controls.Add(this.memorySpinnerStatMax, 1, 2);
|
|
this.spinnerPanel.Controls.Add(this.labelDynMin, 0, 0);
|
|
this.spinnerPanel.Controls.Add(this.labelDynMax, 0, 1);
|
|
this.spinnerPanel.Controls.Add(this.labelStatMax, 0, 2);
|
|
this.spinnerPanel.Name = "spinnerPanel";
|
|
//
|
|
// memorySpinnerDynMin
|
|
//
|
|
resources.ApplyResources(this.memorySpinnerDynMin, "memorySpinnerDynMin");
|
|
this.memorySpinnerDynMin.Increment = 0.1D;
|
|
this.memorySpinnerDynMin.Name = "memorySpinnerDynMin";
|
|
this.memorySpinnerDynMin.SpinnerValueChanged += new System.EventHandler(this.Spinners_ValueChanged);
|
|
//
|
|
// memorySpinnerDynMax
|
|
//
|
|
resources.ApplyResources(this.memorySpinnerDynMax, "memorySpinnerDynMax");
|
|
this.memorySpinnerDynMax.Increment = 0.1D;
|
|
this.memorySpinnerDynMax.Name = "memorySpinnerDynMax";
|
|
this.memorySpinnerDynMax.SpinnerValueChanged += new System.EventHandler(this.Spinners_ValueChanged);
|
|
//
|
|
// memorySpinnerStatMax
|
|
//
|
|
resources.ApplyResources(this.memorySpinnerStatMax, "memorySpinnerStatMax");
|
|
this.memorySpinnerStatMax.Increment = 0.1D;
|
|
this.memorySpinnerStatMax.Name = "memorySpinnerStatMax";
|
|
this.memorySpinnerStatMax.SpinnerValueChanged += new System.EventHandler(this.Spinners_ValueChanged);
|
|
//
|
|
// labelDynMin
|
|
//
|
|
resources.ApplyResources(this.labelDynMin, "labelDynMin");
|
|
this.labelDynMin.Name = "labelDynMin";
|
|
//
|
|
// labelDynMax
|
|
//
|
|
resources.ApplyResources(this.labelDynMax, "labelDynMax");
|
|
this.labelDynMax.Name = "labelDynMax";
|
|
//
|
|
// labelStatMax
|
|
//
|
|
resources.ApplyResources(this.labelStatMax, "labelStatMax");
|
|
this.labelStatMax.Name = "labelStatMax";
|
|
//
|
|
// VMMemoryControlsAdvanced
|
|
//
|
|
resources.ApplyResources(this, "$this");
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
|
|
this.Controls.Add(this.spinnerPanel);
|
|
this.Name = "VMMemoryControlsAdvanced";
|
|
this.spinnerPanel.ResumeLayout(false);
|
|
this.spinnerPanel.PerformLayout();
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.TableLayoutPanel spinnerPanel;
|
|
private MemorySpinner memorySpinnerDynMin;
|
|
private MemorySpinner memorySpinnerStatMax;
|
|
private MemorySpinner memorySpinnerDynMax;
|
|
private System.Windows.Forms.Label labelDynMin;
|
|
private System.Windows.Forms.Label labelDynMax;
|
|
private System.Windows.Forms.Label labelStatMax;
|
|
}
|
|
}
|