mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-12-30 15:50:10 +01:00
912475a4eb
* CP-24331: Add UI for UsbTab and VM Usb Property Signed-off-by: Kun Ma <kun.ma@citrix.com> * CP-24331: Update XenAPI reference Signed-off-by: Kun Ma <kun.ma@citrix.com> * CP-24331: Add AttachUsbDialog Signed-off-by: Kun Ma <kun.ma@citrix.com> * CP-24331: Refine UI changes Signed-off-by: Kun Ma <kun.ma@citrix.com> * CP-24331: Discard UsbList and little refining to code Signed-off-by: Kun Ma <kun.ma@citrix.com> * CP-24331: Refine UI code Signed-off-by: Kun Ma <kun.ma@citrix.com> * CP-24331: Refine USBEditPage Signed-off-by: Kun Ma <kun.ma@citrix.com> * CP-24331: Refine USBEditPage Signed-off-by: Kun Ma <kun.ma@citrix.com>
157 lines
8.0 KiB
C#
Executable File
157 lines
8.0 KiB
C#
Executable File
namespace XenAdmin.TabPages
|
|
{
|
|
partial class UsbPage
|
|
{
|
|
/// <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(UsbPage));
|
|
this.tableLayoutPanelBase = new System.Windows.Forms.TableLayoutPanel();
|
|
this.dataGridViewUsbList = new XenAdmin.Controls.DataGridViewEx.DataGridViewEx();
|
|
this.columnLocation = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.columnDescription = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.columnPassthrough = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.columnVirtualMachine = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.flowLayoutPanelButtons = new System.Windows.Forms.FlowLayoutPanel();
|
|
this.buttonPassthrough = new System.Windows.Forms.Button();
|
|
this.labelGridTitle = new System.Windows.Forms.Label();
|
|
this.pageContainerPanel.SuspendLayout();
|
|
this.tableLayoutPanelBase.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.dataGridViewUsbList)).BeginInit();
|
|
this.flowLayoutPanelButtons.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
// pageContainerPanel
|
|
//
|
|
this.pageContainerPanel.Controls.Add(this.tableLayoutPanelBase);
|
|
resources.ApplyResources(this.pageContainerPanel, "pageContainerPanel");
|
|
//
|
|
// tableLayoutPanelBase
|
|
//
|
|
resources.ApplyResources(this.tableLayoutPanelBase, "tableLayoutPanelBase");
|
|
this.tableLayoutPanelBase.Controls.Add(this.dataGridViewUsbList, 0, 1);
|
|
this.tableLayoutPanelBase.Controls.Add(this.flowLayoutPanelButtons, 0, 2);
|
|
this.tableLayoutPanelBase.Controls.Add(this.labelGridTitle, 0, 0);
|
|
this.tableLayoutPanelBase.Name = "tableLayoutPanelBase";
|
|
//
|
|
// dataGridViewUsbList
|
|
//
|
|
this.dataGridViewUsbList.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells;
|
|
this.dataGridViewUsbList.BackgroundColor = System.Drawing.SystemColors.Window;
|
|
this.dataGridViewUsbList.CellBorderStyle = System.Windows.Forms.DataGridViewCellBorderStyle.None;
|
|
this.dataGridViewUsbList.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
this.dataGridViewUsbList.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
|
this.columnLocation,
|
|
this.columnDescription,
|
|
this.columnPassthrough,
|
|
this.columnVirtualMachine});
|
|
resources.ApplyResources(this.dataGridViewUsbList, "dataGridViewUsbList");
|
|
this.dataGridViewUsbList.Name = "dataGridViewUsbList";
|
|
this.dataGridViewUsbList.ReadOnly = true;
|
|
this.dataGridViewUsbList.SelectionChanged += new System.EventHandler(this.dataGridViewUsbList_SelectionChanged);
|
|
//
|
|
// columnLocation
|
|
//
|
|
this.columnLocation.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
this.columnLocation.FillWeight = 17F;
|
|
resources.ApplyResources(this.columnLocation, "columnLocation");
|
|
this.columnLocation.Name = "columnLocation";
|
|
this.columnLocation.ReadOnly = true;
|
|
//
|
|
// columnDescription
|
|
//
|
|
this.columnDescription.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
this.columnDescription.FillWeight = 45F;
|
|
resources.ApplyResources(this.columnDescription, "columnDescription");
|
|
this.columnDescription.Name = "columnDescription";
|
|
this.columnDescription.ReadOnly = true;
|
|
//
|
|
// columnPassthrough
|
|
//
|
|
this.columnPassthrough.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
this.columnPassthrough.FillWeight = 15F;
|
|
resources.ApplyResources(this.columnPassthrough, "columnPassthrough");
|
|
this.columnPassthrough.Name = "columnPassthrough";
|
|
this.columnPassthrough.ReadOnly = true;
|
|
//
|
|
// columnVirtualMachine
|
|
//
|
|
this.columnVirtualMachine.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
this.columnVirtualMachine.FillWeight = 24F;
|
|
resources.ApplyResources(this.columnVirtualMachine, "columnVirtualMachine");
|
|
this.columnVirtualMachine.Name = "columnVirtualMachine";
|
|
this.columnVirtualMachine.ReadOnly = true;
|
|
//
|
|
// flowLayoutPanelButtons
|
|
//
|
|
this.flowLayoutPanelButtons.Controls.Add(this.buttonPassthrough);
|
|
resources.ApplyResources(this.flowLayoutPanelButtons, "flowLayoutPanelButtons");
|
|
this.flowLayoutPanelButtons.Name = "flowLayoutPanelButtons";
|
|
//
|
|
// buttonPassthrough
|
|
//
|
|
resources.ApplyResources(this.buttonPassthrough, "buttonPassthrough");
|
|
this.buttonPassthrough.Name = "buttonPassthrough";
|
|
this.buttonPassthrough.UseVisualStyleBackColor = true;
|
|
this.buttonPassthrough.Click += new System.EventHandler(this.buttonPassthrough_Click);
|
|
//
|
|
// labelGridTitle
|
|
//
|
|
resources.ApplyResources(this.labelGridTitle, "labelGridTitle");
|
|
this.labelGridTitle.Name = "labelGridTitle";
|
|
//
|
|
// UsbPage
|
|
//
|
|
resources.ApplyResources(this, "$this");
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
|
|
this.BackColor = System.Drawing.Color.Transparent;
|
|
this.Name = "UsbPage";
|
|
this.pageContainerPanel.ResumeLayout(false);
|
|
this.tableLayoutPanelBase.ResumeLayout(false);
|
|
this.tableLayoutPanelBase.PerformLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.dataGridViewUsbList)).EndInit();
|
|
this.flowLayoutPanelButtons.ResumeLayout(false);
|
|
this.flowLayoutPanelButtons.PerformLayout();
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.TableLayoutPanel tableLayoutPanelBase;
|
|
private XenAdmin.Controls.DataGridViewEx.DataGridViewEx dataGridViewUsbList;
|
|
private System.Windows.Forms.FlowLayoutPanel flowLayoutPanelButtons;
|
|
private System.Windows.Forms.Button buttonPassthrough;
|
|
private System.Windows.Forms.Label labelGridTitle;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn columnLocation;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn columnDescription;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn columnPassthrough;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn columnVirtualMachine;
|
|
|
|
}
|
|
}
|