mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-12-22 16:36:03 +01:00
c67f85ebaa
setting controls. Also removed the various types of ballooning dialogs since the only thing changing was the contained memory settings control. Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
107 lines
4.3 KiB
C#
107 lines
4.3 KiB
C#
namespace XenAdmin.Dialogs
|
|
{
|
|
partial class BallooningDialog
|
|
{
|
|
/// <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)
|
|
{
|
|
var mem = memoryControls as XenAdmin.Controls.Ballooning.VMMemoryControlsBasic;
|
|
if (mem != null)
|
|
mem.InstallTools -= BallooningDialog_InstallTools;
|
|
|
|
memoryControls.Dispose();
|
|
|
|
if (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(BallooningDialog));
|
|
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
|
this.labelRubric = new XenAdmin.Controls.Common.AutoHeightLabel();
|
|
this.buttonOK = new System.Windows.Forms.Button();
|
|
this.buttonCancel = new System.Windows.Forms.Button();
|
|
this.panel1 = new System.Windows.Forms.Panel();
|
|
this.tableLayoutPanel1.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
// tableLayoutPanel1
|
|
//
|
|
resources.ApplyResources(this.tableLayoutPanel1, "tableLayoutPanel1");
|
|
this.tableLayoutPanel1.Controls.Add(this.labelRubric, 0, 0);
|
|
this.tableLayoutPanel1.Controls.Add(this.buttonOK, 1, 2);
|
|
this.tableLayoutPanel1.Controls.Add(this.buttonCancel, 2, 2);
|
|
this.tableLayoutPanel1.Controls.Add(this.panel1, 0, 1);
|
|
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
|
|
//
|
|
// labelRubric
|
|
//
|
|
resources.ApplyResources(this.labelRubric, "labelRubric");
|
|
this.tableLayoutPanel1.SetColumnSpan(this.labelRubric, 3);
|
|
this.labelRubric.Name = "labelRubric";
|
|
//
|
|
// buttonOK
|
|
//
|
|
resources.ApplyResources(this.buttonOK, "buttonOK");
|
|
this.buttonOK.Name = "buttonOK";
|
|
this.buttonOK.UseVisualStyleBackColor = true;
|
|
this.buttonOK.Click += new System.EventHandler(this.buttonOK_Click);
|
|
//
|
|
// buttonCancel
|
|
//
|
|
this.buttonCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
|
resources.ApplyResources(this.buttonCancel, "buttonCancel");
|
|
this.buttonCancel.Name = "buttonCancel";
|
|
this.buttonCancel.UseVisualStyleBackColor = true;
|
|
//
|
|
// panel1
|
|
//
|
|
resources.ApplyResources(this.panel1, "panel1");
|
|
this.tableLayoutPanel1.SetColumnSpan(this.panel1, 3);
|
|
this.panel1.Name = "panel1";
|
|
//
|
|
// BallooningDialog
|
|
//
|
|
this.AcceptButton = this.buttonOK;
|
|
resources.ApplyResources(this, "$this");
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
|
|
this.CancelButton = this.buttonCancel;
|
|
this.Controls.Add(this.tableLayoutPanel1);
|
|
this.Name = "BallooningDialog";
|
|
this.tableLayoutPanel1.ResumeLayout(false);
|
|
this.tableLayoutPanel1.PerformLayout();
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
|
|
private Controls.Common.AutoHeightLabel labelRubric;
|
|
private System.Windows.Forms.Button buttonOK;
|
|
private System.Windows.Forms.Button buttonCancel;
|
|
private System.Windows.Forms.Panel panel1;
|
|
}
|
|
}
|
|
|