mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2025-01-10 20:23:13 +01:00
6885c21b5e
property to the derived classes (they don't share much of it anyway) and the method CalcMemoryUsed to the VMShinyBar class where it is needed. Also made the latter's property Increment non-browsable. Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
177 lines
8.6 KiB
C#
177 lines
8.6 KiB
C#
namespace XenAdmin.Controls.Ballooning
|
|
{
|
|
partial class VMMemoryControlsBasic
|
|
{
|
|
/// <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(VMMemoryControlsBasic));
|
|
this.spinnerPanel = new System.Windows.Forms.TableLayoutPanel();
|
|
this.memorySpinnerDynMin = new XenAdmin.Controls.Ballooning.MemorySpinner();
|
|
this.memorySpinnerDynMax = new XenAdmin.Controls.Ballooning.MemorySpinner();
|
|
this.vmShinyBar = new XenAdmin.Controls.Ballooning.VMShinyBar();
|
|
this.radioOff = new System.Windows.Forms.RadioButton();
|
|
this.radioOn = new System.Windows.Forms.RadioButton();
|
|
this.groupBoxOn = new System.Windows.Forms.GroupBox();
|
|
this.iconDMCUnavailable = new System.Windows.Forms.PictureBox();
|
|
this.labelDMCUnavailable = new System.Windows.Forms.Label();
|
|
this.linkInstallTools = new System.Windows.Forms.LinkLabel();
|
|
this.memorySpinnerFixed = new XenAdmin.Controls.Ballooning.MemorySpinner();
|
|
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
|
this.spinnerPanel.SuspendLayout();
|
|
this.groupBoxOn.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.iconDMCUnavailable)).BeginInit();
|
|
this.tableLayoutPanel1.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
// spinnerPanel
|
|
//
|
|
resources.ApplyResources(this.spinnerPanel, "spinnerPanel");
|
|
this.spinnerPanel.Controls.Add(this.memorySpinnerDynMin, 0, 1);
|
|
this.spinnerPanel.Controls.Add(this.memorySpinnerDynMax, 0, 2);
|
|
this.spinnerPanel.Controls.Add(this.vmShinyBar, 0, 0);
|
|
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.DynamicSpinners_ValueChanged);
|
|
//
|
|
// memorySpinnerDynMax
|
|
//
|
|
resources.ApplyResources(this.memorySpinnerDynMax, "memorySpinnerDynMax");
|
|
this.memorySpinnerDynMax.Increment = 0.1D;
|
|
this.memorySpinnerDynMax.Name = "memorySpinnerDynMax";
|
|
this.memorySpinnerDynMax.SpinnerValueChanged += new System.EventHandler(this.DynamicSpinners_ValueChanged);
|
|
//
|
|
// vmShinyBar
|
|
//
|
|
resources.ApplyResources(this.vmShinyBar, "vmShinyBar");
|
|
this.vmShinyBar.Name = "vmShinyBar";
|
|
this.vmShinyBar.SliderDragged += new System.EventHandler(this.vmShinyBar_SliderDragged);
|
|
//
|
|
// radioOff
|
|
//
|
|
resources.ApplyResources(this.radioOff, "radioOff");
|
|
this.tableLayoutPanel1.SetColumnSpan(this.radioOff, 2);
|
|
this.radioOff.Name = "radioOff";
|
|
this.radioOff.TabStop = true;
|
|
this.radioOff.UseVisualStyleBackColor = true;
|
|
//
|
|
// radioOn
|
|
//
|
|
resources.ApplyResources(this.radioOn, "radioOn");
|
|
this.tableLayoutPanel1.SetColumnSpan(this.radioOn, 3);
|
|
this.radioOn.Name = "radioOn";
|
|
this.radioOn.TabStop = true;
|
|
this.radioOn.UseVisualStyleBackColor = true;
|
|
//
|
|
// groupBoxOn
|
|
//
|
|
resources.ApplyResources(this.groupBoxOn, "groupBoxOn");
|
|
this.tableLayoutPanel1.SetColumnSpan(this.groupBoxOn, 3);
|
|
this.groupBoxOn.Controls.Add(this.spinnerPanel);
|
|
this.groupBoxOn.Name = "groupBoxOn";
|
|
this.groupBoxOn.TabStop = false;
|
|
//
|
|
// iconDMCUnavailable
|
|
//
|
|
resources.ApplyResources(this.iconDMCUnavailable, "iconDMCUnavailable");
|
|
this.iconDMCUnavailable.Image = global::XenAdmin.Properties.Resources._000_Info3_h32bit_16;
|
|
this.iconDMCUnavailable.Name = "iconDMCUnavailable";
|
|
this.iconDMCUnavailable.TabStop = false;
|
|
//
|
|
// labelDMCUnavailable
|
|
//
|
|
resources.ApplyResources(this.labelDMCUnavailable, "labelDMCUnavailable");
|
|
this.tableLayoutPanel1.SetColumnSpan(this.labelDMCUnavailable, 2);
|
|
this.labelDMCUnavailable.Name = "labelDMCUnavailable";
|
|
//
|
|
// linkInstallTools
|
|
//
|
|
resources.ApplyResources(this.linkInstallTools, "linkInstallTools");
|
|
this.tableLayoutPanel1.SetColumnSpan(this.linkInstallTools, 2);
|
|
this.linkInstallTools.Name = "linkInstallTools";
|
|
this.linkInstallTools.TabStop = true;
|
|
this.linkInstallTools.VisitedLinkColor = System.Drawing.Color.Blue;
|
|
this.linkInstallTools.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.InstallTools_LinkClicked);
|
|
//
|
|
// memorySpinnerFixed
|
|
//
|
|
resources.ApplyResources(this.memorySpinnerFixed, "memorySpinnerFixed");
|
|
this.memorySpinnerFixed.Increment = 0.1D;
|
|
this.memorySpinnerFixed.Name = "memorySpinnerFixed";
|
|
this.memorySpinnerFixed.SpinnerValueChanged += new System.EventHandler(this.FixedSpinner_ValueChanged);
|
|
//
|
|
// tableLayoutPanel1
|
|
//
|
|
resources.ApplyResources(this.tableLayoutPanel1, "tableLayoutPanel1");
|
|
this.tableLayoutPanel1.Controls.Add(this.memorySpinnerFixed, 2, 0);
|
|
this.tableLayoutPanel1.Controls.Add(this.groupBoxOn, 0, 2);
|
|
this.tableLayoutPanel1.Controls.Add(this.linkInstallTools, 1, 4);
|
|
this.tableLayoutPanel1.Controls.Add(this.radioOff, 0, 0);
|
|
this.tableLayoutPanel1.Controls.Add(this.labelDMCUnavailable, 1, 3);
|
|
this.tableLayoutPanel1.Controls.Add(this.radioOn, 0, 1);
|
|
this.tableLayoutPanel1.Controls.Add(this.iconDMCUnavailable, 0, 3);
|
|
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
|
|
//
|
|
// VMMemoryControlsBasic
|
|
//
|
|
resources.ApplyResources(this, "$this");
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
|
|
this.Controls.Add(this.tableLayoutPanel1);
|
|
this.DoubleBuffered = true;
|
|
this.Name = "VMMemoryControlsBasic";
|
|
this.spinnerPanel.ResumeLayout(false);
|
|
this.groupBoxOn.ResumeLayout(false);
|
|
this.groupBoxOn.PerformLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.iconDMCUnavailable)).EndInit();
|
|
this.tableLayoutPanel1.ResumeLayout(false);
|
|
this.tableLayoutPanel1.PerformLayout();
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private VMShinyBar vmShinyBar;
|
|
private System.Windows.Forms.TableLayoutPanel spinnerPanel;
|
|
private MemorySpinner memorySpinnerDynMin;
|
|
private System.Windows.Forms.RadioButton radioOff;
|
|
private System.Windows.Forms.RadioButton radioOn;
|
|
private System.Windows.Forms.GroupBox groupBoxOn;
|
|
private System.Windows.Forms.PictureBox iconDMCUnavailable;
|
|
private System.Windows.Forms.Label labelDMCUnavailable;
|
|
private System.Windows.Forms.LinkLabel linkInstallTools;
|
|
private MemorySpinner memorySpinnerFixed;
|
|
private MemorySpinner memorySpinnerDynMax;
|
|
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
|
|
}
|
|
}
|