Added NC-Read Threads timing info

This commit is contained in:
CMS3762\carminatini
2018-01-12 12:43:32 +01:00
parent 96ca15ece9
commit a58c6ecd82
7 changed files with 220 additions and 51 deletions
+65 -18
View File
@@ -1,4 +1,6 @@
namespace Step.UI
using System.Windows.Forms;
namespace Step.UI
{
partial class ServerControlWindow
{
@@ -53,12 +55,16 @@
this.metroLabel3 = new MetroFramework.Controls.MetroLabel();
this.metroLabel2 = new MetroFramework.Controls.MetroLabel();
this.metroLabel1 = new MetroFramework.Controls.MetroLabel();
this.ThreadsInfo = new MetroFramework.Controls.MetroTabPage();
this.LISTThreadStatus = new MetroFramework.Controls.MetroListView();
this.columnHeader1 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.columnHeader2 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.stopServerButton = new MetroFramework.Controls.MetroButton();
this.TestJSButton = new MetroFramework.Controls.MetroButton();
this.ThreadsInfo = new MetroFramework.Controls.MetroTabPage();
this.NotifyIconMenu.SuspendLayout();
this.metroTabControl1.SuspendLayout();
this.NCInfo.SuspendLayout();
this.ThreadsInfo.SuspendLayout();
this.SuspendLayout();
//
// StepNotifyIcon
@@ -92,7 +98,7 @@
this.openUiButton.Size = new System.Drawing.Size(104, 42);
this.openUiButton.TabIndex = 1;
this.openUiButton.TabStop = false;
this.openUiButton.Text = "Open CMS Server";
this.openUiButton.Text = "Open CMS Client";
this.openUiButton.UseSelectable = true;
this.openUiButton.Click += new System.EventHandler(this.OpenUiButton_Click);
//
@@ -102,7 +108,7 @@
this.metroTabControl1.Controls.Add(this.ThreadsInfo);
this.metroTabControl1.Location = new System.Drawing.Point(12, 50);
this.metroTabControl1.Name = "metroTabControl1";
this.metroTabControl1.SelectedIndex = 0;
this.metroTabControl1.SelectedIndex = 1;
this.metroTabControl1.Size = new System.Drawing.Size(328, 329);
this.metroTabControl1.TabIndex = 7;
this.metroTabControl1.UseSelectable = true;
@@ -477,6 +483,57 @@
this.metroLabel1.Text = "Vendor:";
this.metroLabel1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// ThreadsInfo
//
this.ThreadsInfo.Controls.Add(this.LISTThreadStatus);
this.ThreadsInfo.HorizontalScrollbarBarColor = true;
this.ThreadsInfo.HorizontalScrollbarHighlightOnWheel = false;
this.ThreadsInfo.HorizontalScrollbarSize = 10;
this.ThreadsInfo.Location = new System.Drawing.Point(4, 38);
this.ThreadsInfo.Name = "ThreadsInfo";
this.ThreadsInfo.Size = new System.Drawing.Size(320, 287);
this.ThreadsInfo.TabIndex = 1;
this.ThreadsInfo.Text = "Active Threads Info";
this.ThreadsInfo.VerticalScrollbarBarColor = true;
this.ThreadsInfo.VerticalScrollbarHighlightOnWheel = false;
this.ThreadsInfo.VerticalScrollbarSize = 10;
//
// LISTThreadStatus
//
this.LISTThreadStatus.Alignment = System.Windows.Forms.ListViewAlignment.Default;
this.LISTThreadStatus.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.LISTThreadStatus.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
this.columnHeader1,
this.columnHeader2});
this.LISTThreadStatus.Font = new System.Drawing.Font("Segoe UI", 12F);
this.LISTThreadStatus.FullRowSelect = true;
this.LISTThreadStatus.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.None;
this.LISTThreadStatus.Location = new System.Drawing.Point(0, 3);
this.LISTThreadStatus.MultiSelect = false;
this.LISTThreadStatus.Name = "LISTThreadStatus";
this.LISTThreadStatus.OwnerDraw = true;
this.LISTThreadStatus.Scrollable = false;
this.LISTThreadStatus.ShowGroups = false;
this.LISTThreadStatus.Size = new System.Drawing.Size(324, 288);
this.LISTThreadStatus.TabIndex = 2;
this.LISTThreadStatus.UseCompatibleStateImageBehavior = false;
this.LISTThreadStatus.UseSelectable = true;
this.LISTThreadStatus.UseStyleColors = true;
this.LISTThreadStatus.View = System.Windows.Forms.View.Details;
//
// columnHeader1
//
this.columnHeader1.Text = "Name";
this.columnHeader1.Width = 233;
//
// columnHeader2
//
this.columnHeader2.Text = "Exec. Time";
this.columnHeader2.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
this.columnHeader2.Width = 84;
//
// stopServerButton
//
this.stopServerButton.Location = new System.Drawing.Point(234, 385);
@@ -499,20 +556,6 @@
this.TestJSButton.UseSelectable = true;
this.TestJSButton.Click += new System.EventHandler(this.TestJSButton_Click);
//
// ThreadsInfo
//
this.ThreadsInfo.HorizontalScrollbarBarColor = true;
this.ThreadsInfo.HorizontalScrollbarHighlightOnWheel = false;
this.ThreadsInfo.HorizontalScrollbarSize = 10;
this.ThreadsInfo.Location = new System.Drawing.Point(4, 38);
this.ThreadsInfo.Name = "ThreadsInfo";
this.ThreadsInfo.Size = new System.Drawing.Size(320, 287);
this.ThreadsInfo.TabIndex = 1;
this.ThreadsInfo.Text = "Threads Info";
this.ThreadsInfo.VerticalScrollbarBarColor = true;
this.ThreadsInfo.VerticalScrollbarHighlightOnWheel = false;
this.ThreadsInfo.VerticalScrollbarSize = 10;
//
// ServerControlWindow
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
@@ -537,6 +580,7 @@
this.metroTabControl1.ResumeLayout(false);
this.NCInfo.ResumeLayout(false);
this.NCInfo.PerformLayout();
this.ThreadsInfo.ResumeLayout(false);
this.ResumeLayout(false);
}
@@ -568,5 +612,8 @@
private MetroFramework.Controls.MetroButton stopServerButton;
private MetroFramework.Controls.MetroButton TestJSButton;
private MetroFramework.Controls.MetroTabPage ThreadsInfo;
private MetroFramework.Controls.MetroListView LISTThreadStatus;
private System.Windows.Forms.ColumnHeader columnHeader1;
private System.Windows.Forms.ColumnHeader columnHeader2;
}
}