mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-12-29 23:30:10 +01:00
bd36a85bff
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
139 lines
6.2 KiB
C#
139 lines
6.2 KiB
C#
using XenAPI;
|
|
|
|
namespace XenAdmin.Dialogs
|
|
{
|
|
partial class RepairSRDialog
|
|
{
|
|
/// <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)
|
|
{
|
|
foreach (SR sr in this._srList)
|
|
{
|
|
sr.PropertyChanged -= Server_PropertyChanged;
|
|
sr.Connection.Cache.DeregisterCollectionChanged<Host>(Host_CollectionChangedWithInvoke);
|
|
sr.Connection.Cache.DeregisterCollectionChanged<PBD>(PBD_CollectionChangedWithInvoke);
|
|
}
|
|
|
|
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()
|
|
{
|
|
this.components = new System.ComponentModel.Container();
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(RepairSRDialog));
|
|
this.CloseButton = new System.Windows.Forms.Button();
|
|
this.RepairButton = new System.Windows.Forms.Button();
|
|
this.label2 = new System.Windows.Forms.Label();
|
|
this.pictureBox1 = new System.Windows.Forms.PictureBox();
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
this.treeView = new System.Windows.Forms.TreeView();
|
|
this.imageList = new System.Windows.Forms.ImageList(this.components);
|
|
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
|
|
this.SuspendLayout();
|
|
//
|
|
// CloseButton
|
|
//
|
|
resources.ApplyResources(this.CloseButton, "CloseButton");
|
|
this.CloseButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
|
this.CloseButton.Name = "CloseButton";
|
|
this.CloseButton.UseVisualStyleBackColor = true;
|
|
this.CloseButton.Click += new System.EventHandler(this.CancelButton_Click);
|
|
//
|
|
// RepairButton
|
|
//
|
|
resources.ApplyResources(this.RepairButton, "RepairButton");
|
|
this.RepairButton.DialogResult = System.Windows.Forms.DialogResult.OK;
|
|
this.RepairButton.Name = "RepairButton";
|
|
this.RepairButton.UseVisualStyleBackColor = true;
|
|
this.RepairButton.Click += new System.EventHandler(this.RepairButton_Click);
|
|
//
|
|
// label2
|
|
//
|
|
resources.ApplyResources(this.label2, "label2");
|
|
this.label2.Name = "label2";
|
|
//
|
|
// pictureBox1
|
|
//
|
|
resources.ApplyResources(this.pictureBox1, "pictureBox1");
|
|
this.pictureBox1.Image = global::XenAdmin.Properties.Resources.attach_virtualstorage_32;
|
|
this.pictureBox1.Name = "pictureBox1";
|
|
this.pictureBox1.TabStop = false;
|
|
//
|
|
// label1
|
|
//
|
|
resources.ApplyResources(this.label1, "label1");
|
|
this.label1.AutoEllipsis = true;
|
|
this.label1.Name = "label1";
|
|
//
|
|
// treeView
|
|
//
|
|
resources.ApplyResources(this.treeView, "treeView");
|
|
this.treeView.DrawMode = System.Windows.Forms.TreeViewDrawMode.OwnerDrawText;
|
|
this.treeView.ImageList = this.imageList;
|
|
this.treeView.Name = "treeView";
|
|
this.treeView.DrawNode += new System.Windows.Forms.DrawTreeNodeEventHandler(this.hostsTreeView_DrawNode);
|
|
this.treeView.BeforeSelect += new System.Windows.Forms.TreeViewCancelEventHandler(this.hostsTreeView_BeforeSelect);
|
|
//
|
|
// imageList
|
|
//
|
|
this.imageList.ColorDepth = System.Windows.Forms.ColorDepth.Depth32Bit;
|
|
resources.ApplyResources(this.imageList, "imageList");
|
|
this.imageList.TransparentColor = System.Drawing.Color.Transparent;
|
|
//
|
|
// RepairSRDialog
|
|
//
|
|
this.AcceptButton = this.RepairButton;
|
|
resources.ApplyResources(this, "$this");
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
|
|
this.CancelButton = this.CloseButton;
|
|
this.Controls.Add(this.treeView);
|
|
this.Controls.Add(this.label1);
|
|
this.Controls.Add(this.pictureBox1);
|
|
this.Controls.Add(this.RepairButton);
|
|
this.Controls.Add(this.label2);
|
|
this.Controls.Add(this.CloseButton);
|
|
this.Name = "RepairSRDialog";
|
|
this.Controls.SetChildIndex(this.ActionProgressBar, 0);
|
|
this.Controls.SetChildIndex(this.ProgressSeparator, 0);
|
|
this.Controls.SetChildIndex(this.ActionStatusLabel, 0);
|
|
this.Controls.SetChildIndex(this.CloseButton, 0);
|
|
this.Controls.SetChildIndex(this.label2, 0);
|
|
this.Controls.SetChildIndex(this.RepairButton, 0);
|
|
this.Controls.SetChildIndex(this.pictureBox1, 0);
|
|
this.Controls.SetChildIndex(this.label1, 0);
|
|
this.Controls.SetChildIndex(this.treeView, 0);
|
|
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.Button CloseButton;
|
|
private System.Windows.Forms.Button RepairButton;
|
|
private System.Windows.Forms.Label label2;
|
|
private System.Windows.Forms.PictureBox pictureBox1;
|
|
private System.Windows.Forms.Label label1;
|
|
private System.Windows.Forms.TreeView treeView;
|
|
private System.Windows.Forms.ImageList imageList;
|
|
}
|
|
} |