mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-12-22 08:26:03 +01:00
789e45f11c
This tab will show docker process id, command and CPU time. Signed-off-by: Hui Zhang <hui.zhang@citrix.com>
192 lines
7.8 KiB
C#
192 lines
7.8 KiB
C#
namespace XenAdmin.TabPages
|
|
{
|
|
partial class DockerProcessPage
|
|
{
|
|
/// <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)
|
|
{
|
|
// Deregister listeners.
|
|
DockerContainer = null;
|
|
|
|
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.components = new System.ComponentModel.Container();
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(DockerProcessPage));
|
|
this.label6 = new System.Windows.Forms.Label();
|
|
this.label10 = new System.Windows.Forms.Label();
|
|
this.label9 = new System.Windows.Forms.Label();
|
|
this.label8 = new System.Windows.Forms.Label();
|
|
this.label7 = new System.Windows.Forms.Label();
|
|
this.RefreshButton = new System.Windows.Forms.Button();
|
|
this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel();
|
|
this.labelRefresh = new System.Windows.Forms.Label();
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
this.TitleLabel = new System.Windows.Forms.Label();
|
|
this.panel1 = new System.Windows.Forms.Panel();
|
|
this.listView1 = new XenAdmin.Controls.ListViewEx();
|
|
this.ColumnPID = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
|
this.ColumnCommand = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
|
this.ColumnCPUTime = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
|
this.timer1 = new System.Windows.Forms.Timer(this.components);
|
|
this.pageContainerPanel.SuspendLayout();
|
|
this.flowLayoutPanel1.SuspendLayout();
|
|
this.panel1.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
// pageContainerPanel
|
|
//
|
|
this.pageContainerPanel.Controls.Add(this.panel1);
|
|
this.pageContainerPanel.Controls.Add(this.label1);
|
|
resources.ApplyResources(this.pageContainerPanel, "pageContainerPanel");
|
|
//
|
|
// label6
|
|
//
|
|
resources.ApplyResources(this.label6, "label6");
|
|
this.label6.Name = "label6";
|
|
//
|
|
// label10
|
|
//
|
|
resources.ApplyResources(this.label10, "label10");
|
|
this.label10.Name = "label10";
|
|
//
|
|
// label9
|
|
//
|
|
resources.ApplyResources(this.label9, "label9");
|
|
this.label9.Name = "label9";
|
|
//
|
|
// label8
|
|
//
|
|
resources.ApplyResources(this.label8, "label8");
|
|
this.label8.Name = "label8";
|
|
//
|
|
// label7
|
|
//
|
|
resources.ApplyResources(this.label7, "label7");
|
|
this.label7.Name = "label7";
|
|
//
|
|
// RefreshButton
|
|
//
|
|
resources.ApplyResources(this.RefreshButton, "RefreshButton");
|
|
this.RefreshButton.Name = "RefreshButton";
|
|
this.RefreshButton.UseVisualStyleBackColor = true;
|
|
this.RefreshButton.Click += new System.EventHandler(this.RefreshButton_Click);
|
|
//
|
|
// flowLayoutPanel1
|
|
//
|
|
this.flowLayoutPanel1.Controls.Add(this.RefreshButton);
|
|
this.flowLayoutPanel1.Controls.Add(this.labelRefresh);
|
|
resources.ApplyResources(this.flowLayoutPanel1, "flowLayoutPanel1");
|
|
this.flowLayoutPanel1.Name = "flowLayoutPanel1";
|
|
//
|
|
// labelRefresh
|
|
//
|
|
resources.ApplyResources(this.labelRefresh, "labelRefresh");
|
|
this.labelRefresh.Name = "labelRefresh";
|
|
//
|
|
// label1
|
|
//
|
|
resources.ApplyResources(this.label1, "label1");
|
|
this.label1.Name = "label1";
|
|
//
|
|
// TitleLabel
|
|
//
|
|
resources.ApplyResources(this.TitleLabel, "TitleLabel");
|
|
this.TitleLabel.ForeColor = System.Drawing.Color.White;
|
|
this.TitleLabel.Name = "TitleLabel";
|
|
//
|
|
// panel1
|
|
//
|
|
resources.ApplyResources(this.panel1, "panel1");
|
|
this.panel1.Controls.Add(this.listView1);
|
|
this.panel1.Controls.Add(this.flowLayoutPanel1);
|
|
this.panel1.Name = "panel1";
|
|
//
|
|
// listView1
|
|
//
|
|
this.listView1.AllowColumnReorder = true;
|
|
this.listView1.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
|
|
this.ColumnPID,
|
|
this.ColumnCommand,
|
|
this.ColumnCPUTime});
|
|
resources.ApplyResources(this.listView1, "listView1");
|
|
this.listView1.Name = "listView1";
|
|
this.listView1.UseCompatibleStateImageBehavior = false;
|
|
this.listView1.View = System.Windows.Forms.View.Details;
|
|
this.listView1.ColumnClick += new System.Windows.Forms.ColumnClickEventHandler(this.listView1_ColumnClick);
|
|
//
|
|
// ColumnPID
|
|
//
|
|
resources.ApplyResources(this.ColumnPID, "ColumnPID");
|
|
//
|
|
// ColumnCommand
|
|
//
|
|
resources.ApplyResources(this.ColumnCommand, "ColumnCommand");
|
|
//
|
|
// ColumnCPUTime
|
|
//
|
|
resources.ApplyResources(this.ColumnCPUTime, "ColumnCPUTime");
|
|
//
|
|
// timer1
|
|
//
|
|
this.timer1.Interval = 20000;
|
|
this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
|
|
//
|
|
// DockerProcessPage
|
|
//
|
|
resources.ApplyResources(this, "$this");
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
|
|
this.BackColor = System.Drawing.Color.Transparent;
|
|
this.DoubleBuffered = true;
|
|
this.Name = "DockerProcessPage";
|
|
this.pageContainerPanel.ResumeLayout(false);
|
|
this.pageContainerPanel.PerformLayout();
|
|
this.flowLayoutPanel1.ResumeLayout(false);
|
|
this.flowLayoutPanel1.PerformLayout();
|
|
this.panel1.ResumeLayout(false);
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.Label label6;
|
|
private System.Windows.Forms.Label label10;
|
|
private System.Windows.Forms.Label label9;
|
|
private System.Windows.Forms.Label label8;
|
|
private System.Windows.Forms.Label label7;
|
|
private System.Windows.Forms.Label TitleLabel;
|
|
private System.Windows.Forms.Button RefreshButton;
|
|
private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel1;
|
|
private System.Windows.Forms.Label label1;
|
|
private System.Windows.Forms.Panel panel1;
|
|
private System.Windows.Forms.Label labelRefresh;
|
|
private System.Windows.Forms.Timer timer1;
|
|
private XenAdmin.Controls.ListViewEx listView1;
|
|
private System.Windows.Forms.ColumnHeader ColumnPID;
|
|
private System.Windows.Forms.ColumnHeader ColumnCommand;
|
|
private System.Windows.Forms.ColumnHeader ColumnCPUTime;
|
|
}
|
|
}
|