mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-12-29 23:30:10 +01:00
72be4e1141
- Added Control Domain memory entry in the host memory control on Memory tab. - Control domain memory is editable for Ely and greater hosts. - Can be changed from a dialog that requires host to be in maintenance mode and triggers a host reboot after the memory is changed. - This dialog is available from Server main menu and from the host memory tab. - Also removed unused unit controls on host and VM memory bars. Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
94 lines
3.6 KiB
C#
94 lines
3.6 KiB
C#
namespace XenAdmin.Controls.Ballooning
|
|
{
|
|
partial class MemorySpinner
|
|
{
|
|
/// <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(MemorySpinner));
|
|
this.Spinner = new System.Windows.Forms.NumericUpDown();
|
|
this.NameLabel = new System.Windows.Forms.Label();
|
|
this.iconBox = new System.Windows.Forms.PictureBox();
|
|
this.SpinnerUnits = new System.Windows.Forms.Label();
|
|
((System.ComponentModel.ISupportInitialize)(this.Spinner)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.iconBox)).BeginInit();
|
|
this.SuspendLayout();
|
|
//
|
|
// Spinner
|
|
//
|
|
resources.ApplyResources(this.Spinner, "Spinner");
|
|
this.Spinner.DecimalPlaces = 1;
|
|
this.Spinner.Maximum = new decimal(new int[] {
|
|
99999,
|
|
0,
|
|
0,
|
|
0});
|
|
this.Spinner.Name = "Spinner";
|
|
this.Spinner.ValueChanged += new System.EventHandler(this.Spinner_ValueChanged);
|
|
this.Spinner.Leave += new System.EventHandler(this.Spinner_Leave);
|
|
//
|
|
// NameLabel
|
|
//
|
|
resources.ApplyResources(this.NameLabel, "NameLabel");
|
|
this.NameLabel.Name = "NameLabel";
|
|
//
|
|
// iconBox
|
|
//
|
|
resources.ApplyResources(this.iconBox, "iconBox");
|
|
this.iconBox.Name = "iconBox";
|
|
this.iconBox.TabStop = false;
|
|
//
|
|
// SpinnerUnits
|
|
//
|
|
resources.ApplyResources(this.SpinnerUnits, "SpinnerUnits");
|
|
this.SpinnerUnits.Name = "SpinnerUnits";
|
|
//
|
|
// MemorySpinner
|
|
//
|
|
resources.ApplyResources(this, "$this");
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
|
|
this.Controls.Add(this.SpinnerUnits);
|
|
this.Controls.Add(this.NameLabel);
|
|
this.Controls.Add(this.iconBox);
|
|
this.Controls.Add(this.Spinner);
|
|
this.DoubleBuffered = true;
|
|
this.Name = "MemorySpinner";
|
|
((System.ComponentModel.ISupportInitialize)(this.Spinner)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.iconBox)).EndInit();
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.NumericUpDown Spinner;
|
|
private System.Windows.Forms.Label NameLabel;
|
|
private System.Windows.Forms.PictureBox iconBox;
|
|
private System.Windows.Forms.Label SpinnerUnits;
|
|
}
|
|
}
|