mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-11-25 06:16:37 +01:00
4451d2f3e0
1. Moved Dispose(bool disposing) method to SrStoragePage.cs (from SrStoragePage.Designer.cs). 2. Added private bool disposed field as suggested in review #1998. Signed-off-by: Adrian Jachacy <Adrian.Jachacy@citrix.com>
340 lines
18 KiB
C#
340 lines
18 KiB
C#
using XenAdmin.Commands;
|
|
using XenAPI;
|
|
|
|
namespace XenAdmin.TabPages
|
|
{
|
|
partial class SrStoragePage
|
|
{
|
|
/// <summary>
|
|
/// Required designer variable.
|
|
/// </summary>
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
#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.components = new System.ComponentModel.Container();
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SrStoragePage));
|
|
this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components);
|
|
this.moveVirtualDiskToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.deleteVirtualDiskToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
|
|
this.editVirtualDiskToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.TitleLabel = new System.Windows.Forms.Label();
|
|
this.RemoveButtonContainer = new XenAdmin.Controls.ToolTipContainer();
|
|
this.RemoveButton = new System.Windows.Forms.Button();
|
|
this.EditButtonContainer = new XenAdmin.Controls.ToolTipContainer();
|
|
this.EditButton = new System.Windows.Forms.Button();
|
|
this.addVirtualDiskButton = new System.Windows.Forms.Button();
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel();
|
|
this.toolTipContainerRescan = new XenAdmin.Controls.ToolTipContainer();
|
|
this.buttonRefresh = new System.Windows.Forms.Button();
|
|
this.addDropDownButton = new XenAdmin.Controls.DropDownButton();
|
|
this.addContextMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components);
|
|
this.groupBox1 = new System.Windows.Forms.GroupBox();
|
|
this.toolTipContainerMove = new XenAdmin.Controls.ToolTipContainer();
|
|
this.buttonMove = new System.Windows.Forms.Button();
|
|
this.removeDropDownButton = new XenAdmin.Controls.DropDownButton();
|
|
this.removeContextMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components);
|
|
this.panel1 = new System.Windows.Forms.Panel();
|
|
this.dataGridViewVDIs = new System.Windows.Forms.DataGridView();
|
|
this.ColumnName = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.ColumnVolume = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.ColumnDesc = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.ColumnSize = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.ColumnVM = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.pageContainerPanel.SuspendLayout();
|
|
this.contextMenuStrip1.SuspendLayout();
|
|
this.RemoveButtonContainer.SuspendLayout();
|
|
this.EditButtonContainer.SuspendLayout();
|
|
this.flowLayoutPanel1.SuspendLayout();
|
|
this.toolTipContainerRescan.SuspendLayout();
|
|
this.toolTipContainerMove.SuspendLayout();
|
|
this.panel1.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.dataGridViewVDIs)).BeginInit();
|
|
this.SuspendLayout();
|
|
//
|
|
// pageContainerPanel
|
|
//
|
|
this.pageContainerPanel.Controls.Add(this.panel1);
|
|
this.pageContainerPanel.Controls.Add(this.label1);
|
|
resources.ApplyResources(this.pageContainerPanel, "pageContainerPanel");
|
|
//
|
|
// contextMenuStrip1
|
|
//
|
|
this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
this.moveVirtualDiskToolStripMenuItem,
|
|
this.deleteVirtualDiskToolStripMenuItem,
|
|
this.toolStripSeparator1,
|
|
this.editVirtualDiskToolStripMenuItem});
|
|
this.contextMenuStrip1.Name = "contextMenuStrip1";
|
|
resources.ApplyResources(this.contextMenuStrip1, "contextMenuStrip1");
|
|
this.contextMenuStrip1.Opening += new System.ComponentModel.CancelEventHandler(this.contextMenuStrip_Opening);
|
|
//
|
|
// moveVirtualDiskToolStripMenuItem
|
|
//
|
|
this.moveVirtualDiskToolStripMenuItem.Name = "moveVirtualDiskToolStripMenuItem";
|
|
resources.ApplyResources(this.moveVirtualDiskToolStripMenuItem, "moveVirtualDiskToolStripMenuItem");
|
|
this.moveVirtualDiskToolStripMenuItem.Click += new System.EventHandler(this.moveVirtualDiskToolStripMenuItem_Click);
|
|
//
|
|
// deleteVirtualDiskToolStripMenuItem
|
|
//
|
|
this.deleteVirtualDiskToolStripMenuItem.Name = "deleteVirtualDiskToolStripMenuItem";
|
|
resources.ApplyResources(this.deleteVirtualDiskToolStripMenuItem, "deleteVirtualDiskToolStripMenuItem");
|
|
this.deleteVirtualDiskToolStripMenuItem.Click += new System.EventHandler(this.removeVirtualDisk_Click);
|
|
//
|
|
// toolStripSeparator1
|
|
//
|
|
this.toolStripSeparator1.Name = "toolStripSeparator1";
|
|
resources.ApplyResources(this.toolStripSeparator1, "toolStripSeparator1");
|
|
//
|
|
// editVirtualDiskToolStripMenuItem
|
|
//
|
|
this.editVirtualDiskToolStripMenuItem.Image = global::XenAdmin.Properties.Resources.edit_16;
|
|
this.editVirtualDiskToolStripMenuItem.Name = "editVirtualDiskToolStripMenuItem";
|
|
resources.ApplyResources(this.editVirtualDiskToolStripMenuItem, "editVirtualDiskToolStripMenuItem");
|
|
this.editVirtualDiskToolStripMenuItem.Click += new System.EventHandler(this.editVirtualDiskToolStripMenuItem_Click);
|
|
//
|
|
// TitleLabel
|
|
//
|
|
resources.ApplyResources(this.TitleLabel, "TitleLabel");
|
|
this.TitleLabel.ForeColor = System.Drawing.Color.White;
|
|
this.TitleLabel.Name = "TitleLabel";
|
|
//
|
|
// RemoveButtonContainer
|
|
//
|
|
resources.ApplyResources(this.RemoveButtonContainer, "RemoveButtonContainer");
|
|
this.RemoveButtonContainer.Controls.Add(this.RemoveButton);
|
|
this.RemoveButtonContainer.Name = "RemoveButtonContainer";
|
|
//
|
|
// RemoveButton
|
|
//
|
|
resources.ApplyResources(this.RemoveButton, "RemoveButton");
|
|
this.RemoveButton.Name = "RemoveButton";
|
|
this.RemoveButton.UseVisualStyleBackColor = true;
|
|
this.RemoveButton.Click += new System.EventHandler(this.RemoveButton_Click);
|
|
//
|
|
// EditButtonContainer
|
|
//
|
|
resources.ApplyResources(this.EditButtonContainer, "EditButtonContainer");
|
|
this.EditButtonContainer.Controls.Add(this.EditButton);
|
|
this.EditButtonContainer.Name = "EditButtonContainer";
|
|
//
|
|
// EditButton
|
|
//
|
|
resources.ApplyResources(this.EditButton, "EditButton");
|
|
this.EditButton.Name = "EditButton";
|
|
this.EditButton.UseVisualStyleBackColor = true;
|
|
this.EditButton.Click += new System.EventHandler(this.EditButton_Click);
|
|
//
|
|
// addVirtualDiskButton
|
|
//
|
|
resources.ApplyResources(this.addVirtualDiskButton, "addVirtualDiskButton");
|
|
this.addVirtualDiskButton.Name = "addVirtualDiskButton";
|
|
this.addVirtualDiskButton.UseVisualStyleBackColor = true;
|
|
this.addVirtualDiskButton.Click += new System.EventHandler(this.addVirtualDiskButton_Click);
|
|
//
|
|
// label1
|
|
//
|
|
resources.ApplyResources(this.label1, "label1");
|
|
this.label1.Name = "label1";
|
|
//
|
|
// flowLayoutPanel1
|
|
//
|
|
this.flowLayoutPanel1.Controls.Add(this.toolTipContainerRescan);
|
|
this.flowLayoutPanel1.Controls.Add(this.addVirtualDiskButton);
|
|
this.flowLayoutPanel1.Controls.Add(this.addDropDownButton);
|
|
this.flowLayoutPanel1.Controls.Add(this.groupBox1);
|
|
this.flowLayoutPanel1.Controls.Add(this.EditButtonContainer);
|
|
this.flowLayoutPanel1.Controls.Add(this.toolTipContainerMove);
|
|
this.flowLayoutPanel1.Controls.Add(this.RemoveButtonContainer);
|
|
this.flowLayoutPanel1.Controls.Add(this.removeDropDownButton);
|
|
resources.ApplyResources(this.flowLayoutPanel1, "flowLayoutPanel1");
|
|
this.flowLayoutPanel1.Name = "flowLayoutPanel1";
|
|
//
|
|
// toolTipContainerRescan
|
|
//
|
|
this.toolTipContainerRescan.Controls.Add(this.buttonRefresh);
|
|
resources.ApplyResources(this.toolTipContainerRescan, "toolTipContainerRescan");
|
|
this.toolTipContainerRescan.Name = "toolTipContainerRescan";
|
|
//
|
|
// buttonRefresh
|
|
//
|
|
resources.ApplyResources(this.buttonRefresh, "buttonRefresh");
|
|
this.buttonRefresh.Name = "buttonRefresh";
|
|
this.buttonRefresh.UseVisualStyleBackColor = true;
|
|
this.buttonRefresh.Click += new System.EventHandler(this.buttonRefresh_Click);
|
|
//
|
|
// addDropDownButton
|
|
//
|
|
resources.ApplyResources(this.addDropDownButton, "addDropDownButton");
|
|
this.addDropDownButton.ContextMenuStrip = this.addContextMenuStrip;
|
|
this.addDropDownButton.Name = "addDropDownButton";
|
|
this.addDropDownButton.UseVisualStyleBackColor = true;
|
|
//
|
|
// addContextMenuStrip
|
|
//
|
|
this.addContextMenuStrip.Name = "addContextMenuStrip";
|
|
resources.ApplyResources(this.addContextMenuStrip, "addContextMenuStrip");
|
|
this.addContextMenuStrip.Opening += new System.ComponentModel.CancelEventHandler(this.addContextMenuStrip_Opening);
|
|
//
|
|
// groupBox1
|
|
//
|
|
resources.ApplyResources(this.groupBox1, "groupBox1");
|
|
this.groupBox1.Name = "groupBox1";
|
|
this.groupBox1.TabStop = false;
|
|
//
|
|
// toolTipContainerMove
|
|
//
|
|
this.toolTipContainerMove.Controls.Add(this.buttonMove);
|
|
resources.ApplyResources(this.toolTipContainerMove, "toolTipContainerMove");
|
|
this.toolTipContainerMove.Name = "toolTipContainerMove";
|
|
//
|
|
// buttonMove
|
|
//
|
|
resources.ApplyResources(this.buttonMove, "buttonMove");
|
|
this.buttonMove.Name = "buttonMove";
|
|
this.buttonMove.UseVisualStyleBackColor = true;
|
|
this.buttonMove.Click += new System.EventHandler(this.buttonMove_Click);
|
|
//
|
|
// removeDropDownButton
|
|
//
|
|
this.removeDropDownButton.ContextMenuStrip = this.removeContextMenuStrip;
|
|
resources.ApplyResources(this.removeDropDownButton, "removeDropDownButton");
|
|
this.removeDropDownButton.Name = "removeDropDownButton";
|
|
this.removeDropDownButton.UseVisualStyleBackColor = true;
|
|
//
|
|
// removeContextMenuStrip
|
|
//
|
|
this.removeContextMenuStrip.Name = "removeContextMenuStrip";
|
|
resources.ApplyResources(this.removeContextMenuStrip, "removeContextMenuStrip");
|
|
this.removeContextMenuStrip.Opening += new System.ComponentModel.CancelEventHandler(this.removeContextMenuStrip_Opening);
|
|
//
|
|
// panel1
|
|
//
|
|
resources.ApplyResources(this.panel1, "panel1");
|
|
this.panel1.Controls.Add(this.dataGridViewVDIs);
|
|
this.panel1.Controls.Add(this.flowLayoutPanel1);
|
|
this.panel1.MaximumSize = new System.Drawing.Size(900, 400);
|
|
this.panel1.Name = "panel1";
|
|
//
|
|
// dataGridViewVDIs
|
|
//
|
|
this.dataGridViewVDIs.AllowUserToAddRows = false;
|
|
this.dataGridViewVDIs.AllowUserToDeleteRows = false;
|
|
this.dataGridViewVDIs.AllowUserToResizeRows = false;
|
|
this.dataGridViewVDIs.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells;
|
|
this.dataGridViewVDIs.BackgroundColor = System.Drawing.SystemColors.Window;
|
|
this.dataGridViewVDIs.CellBorderStyle = System.Windows.Forms.DataGridViewCellBorderStyle.None;
|
|
this.dataGridViewVDIs.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
this.dataGridViewVDIs.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
|
this.ColumnName,
|
|
this.ColumnVolume,
|
|
this.ColumnDesc,
|
|
this.ColumnSize,
|
|
this.ColumnVM});
|
|
resources.ApplyResources(this.dataGridViewVDIs, "dataGridViewVDIs");
|
|
this.dataGridViewVDIs.Name = "dataGridViewVDIs";
|
|
this.dataGridViewVDIs.ReadOnly = true;
|
|
this.dataGridViewVDIs.RowHeadersVisible = false;
|
|
this.dataGridViewVDIs.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
|
|
this.dataGridViewVDIs.CellMouseUp += new System.Windows.Forms.DataGridViewCellMouseEventHandler(this.dataGridViewVDIs_CellMouseUp);
|
|
//
|
|
// ColumnName
|
|
//
|
|
this.ColumnName.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
resources.ApplyResources(this.ColumnName, "ColumnName");
|
|
this.ColumnName.Name = "ColumnName";
|
|
this.ColumnName.ReadOnly = true;
|
|
//
|
|
// ColumnVolume
|
|
//
|
|
this.ColumnVolume.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
resources.ApplyResources(this.ColumnVolume, "ColumnVolume");
|
|
this.ColumnVolume.Name = "ColumnVolume";
|
|
this.ColumnVolume.ReadOnly = true;
|
|
//
|
|
// ColumnDesc
|
|
//
|
|
this.ColumnDesc.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
resources.ApplyResources(this.ColumnDesc, "ColumnDesc");
|
|
this.ColumnDesc.Name = "ColumnDesc";
|
|
this.ColumnDesc.ReadOnly = true;
|
|
//
|
|
// ColumnSize
|
|
//
|
|
this.ColumnSize.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells;
|
|
resources.ApplyResources(this.ColumnSize, "ColumnSize");
|
|
this.ColumnSize.Name = "ColumnSize";
|
|
this.ColumnSize.ReadOnly = true;
|
|
//
|
|
// ColumnVM
|
|
//
|
|
this.ColumnVM.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
resources.ApplyResources(this.ColumnVM, "ColumnVM");
|
|
this.ColumnVM.Name = "ColumnVM";
|
|
this.ColumnVM.ReadOnly = true;
|
|
//
|
|
// SrStoragePage
|
|
//
|
|
resources.ApplyResources(this, "$this");
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
|
|
this.BackColor = System.Drawing.Color.Transparent;
|
|
this.DoubleBuffered = true;
|
|
this.Name = "SrStoragePage";
|
|
this.Controls.SetChildIndex(this.pageContainerPanel, 0);
|
|
this.pageContainerPanel.ResumeLayout(false);
|
|
this.pageContainerPanel.PerformLayout();
|
|
this.contextMenuStrip1.ResumeLayout(false);
|
|
this.RemoveButtonContainer.ResumeLayout(false);
|
|
this.EditButtonContainer.ResumeLayout(false);
|
|
this.flowLayoutPanel1.ResumeLayout(false);
|
|
this.toolTipContainerRescan.ResumeLayout(false);
|
|
this.toolTipContainerMove.ResumeLayout(false);
|
|
this.panel1.ResumeLayout(false);
|
|
((System.ComponentModel.ISupportInitialize)(this.dataGridViewVDIs)).EndInit();
|
|
this.ResumeLayout(false);
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.ContextMenuStrip contextMenuStrip1;
|
|
private System.Windows.Forms.ToolStripMenuItem editVirtualDiskToolStripMenuItem;
|
|
private System.Windows.Forms.ToolStripMenuItem deleteVirtualDiskToolStripMenuItem;
|
|
private System.Windows.Forms.Button addVirtualDiskButton;
|
|
private System.Windows.Forms.Label TitleLabel;
|
|
private XenAdmin.Controls.ToolTipContainer EditButtonContainer;
|
|
private System.Windows.Forms.Button EditButton;
|
|
private XenAdmin.Controls.ToolTipContainer RemoveButtonContainer;
|
|
private System.Windows.Forms.Button RemoveButton;
|
|
private System.Windows.Forms.Label label1;
|
|
private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel1;
|
|
private System.Windows.Forms.Panel panel1;
|
|
private System.Windows.Forms.Button buttonRefresh;
|
|
private XenAdmin.Controls.ToolTipContainer toolTipContainerRescan;
|
|
private System.Windows.Forms.GroupBox groupBox1;
|
|
private XenAdmin.Controls.DropDownButton addDropDownButton;
|
|
private XenAdmin.Controls.DropDownButton removeDropDownButton;
|
|
private System.Windows.Forms.ContextMenuStrip addContextMenuStrip;
|
|
private System.Windows.Forms.ContextMenuStrip removeContextMenuStrip;
|
|
private XenAdmin.Controls.ToolTipContainer toolTipContainerMove;
|
|
private System.Windows.Forms.Button buttonMove;
|
|
private System.Windows.Forms.ToolStripMenuItem moveVirtualDiskToolStripMenuItem;
|
|
private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
|
|
private System.Windows.Forms.DataGridView dataGridViewVDIs;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn ColumnName;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn ColumnVolume;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn ColumnDesc;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn ColumnSize;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn ColumnVM;
|
|
|
|
}
|
|
}
|