mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-12-22 08:26:03 +01:00
83ff32cbbc
- added code to deregister event handlers when the ISO drop down box is disposed; plus some code tidy-up Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
49 lines
1.5 KiB
C#
49 lines
1.5 KiB
C#
namespace XenAdmin.Controls
|
|
{
|
|
partial class ISODropDownBox
|
|
{
|
|
/// <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)
|
|
{
|
|
// deregisteres all event handlers
|
|
DeregisterEvents();
|
|
|
|
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()
|
|
{
|
|
this.SuspendLayout();
|
|
//
|
|
// ISODropDownBox
|
|
//
|
|
this.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
|
|
this.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
this.FormattingEnabled = true;
|
|
this.SelectedIndexChanged += new System.EventHandler(this.this_SelectedIndexChanged);
|
|
this.ResumeLayout(false);
|
|
|
|
}
|
|
|
|
#endregion
|
|
}
|
|
}
|