mirror of
https://github.com/Microsoft/sql-server-samples.git
synced 2025-12-08 14:58:54 +00:00
479 lines
27 KiB
C#
479 lines
27 KiB
C#
namespace DemoWorkload
|
|
{
|
|
partial class FrmMain
|
|
{
|
|
/// <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 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()
|
|
{
|
|
System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea1 = new System.Windows.Forms.DataVisualization.Charting.ChartArea();
|
|
System.Windows.Forms.DataVisualization.Charting.Legend legend1 = new System.Windows.Forms.DataVisualization.Charting.Legend();
|
|
System.Windows.Forms.DataVisualization.Charting.Series series1 = new System.Windows.Forms.DataVisualization.Charting.Series();
|
|
System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint1 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0D, 0D);
|
|
System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea2 = new System.Windows.Forms.DataVisualization.Charting.ChartArea();
|
|
System.Windows.Forms.DataVisualization.Charting.Series series2 = new System.Windows.Forms.DataVisualization.Charting.Series();
|
|
System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint2 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0D, 1D);
|
|
System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea3 = new System.Windows.Forms.DataVisualization.Charting.ChartArea();
|
|
System.Windows.Forms.DataVisualization.Charting.Series series3 = new System.Windows.Forms.DataVisualization.Charting.Series();
|
|
System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint3 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0D, 1D);
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmMain));
|
|
this.btnRun = new System.Windows.Forms.Button();
|
|
this.btnStop = new System.Windows.Forms.Button();
|
|
this.lbResults = new System.Windows.Forms.Label();
|
|
this.menuStrip1 = new System.Windows.Forms.MenuStrip();
|
|
this.optionsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.configurationToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.ErrorMessages = new System.Windows.Forms.TextBox();
|
|
this.chtTPS = new System.Windows.Forms.DataVisualization.Charting.Chart();
|
|
this.statusStrip1 = new System.Windows.Forms.StatusStrip();
|
|
this.toolStripStatusLabel1 = new System.Windows.Forms.ToolStripStatusLabel();
|
|
this.lblTime = new System.Windows.Forms.ToolStripStatusLabel();
|
|
this.toolStripStatusLabel3 = new System.Windows.Forms.ToolStripStatusLabel();
|
|
this.lblThreads = new System.Windows.Forms.ToolStripStatusLabel();
|
|
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
|
|
this.label4 = new System.Windows.Forms.Label();
|
|
this.speedDialPanel = new System.Windows.Forms.Panel();
|
|
this.label2 = new System.Windows.Forms.Label();
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
this.btnToggle = new System.Windows.Forms.Button();
|
|
this.chtLatches = new System.Windows.Forms.DataVisualization.Charting.Chart();
|
|
this.chtCPU = new System.Windows.Forms.DataVisualization.Charting.Chart();
|
|
this.label3 = new System.Windows.Forms.Label();
|
|
this.menuStrip1.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.chtTPS)).BeginInit();
|
|
this.statusStrip1.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
|
|
this.splitContainer1.Panel1.SuspendLayout();
|
|
this.splitContainer1.Panel2.SuspendLayout();
|
|
this.splitContainer1.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.chtLatches)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.chtCPU)).BeginInit();
|
|
this.SuspendLayout();
|
|
//
|
|
// btnRun
|
|
//
|
|
this.btnRun.BackColor = System.Drawing.Color.White;
|
|
this.btnRun.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
|
this.btnRun.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.btnRun.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
|
|
this.btnRun.Location = new System.Drawing.Point(801, 20);
|
|
this.btnRun.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
|
this.btnRun.Name = "btnRun";
|
|
this.btnRun.Size = new System.Drawing.Size(112, 37);
|
|
this.btnRun.TabIndex = 3;
|
|
this.btnRun.Text = "Start";
|
|
this.btnRun.UseVisualStyleBackColor = false;
|
|
this.btnRun.Click += new System.EventHandler(this.OnRunClick);
|
|
//
|
|
// btnStop
|
|
//
|
|
this.btnStop.BackColor = System.Drawing.Color.White;
|
|
this.btnStop.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
|
this.btnStop.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.btnStop.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
|
|
this.btnStop.Location = new System.Drawing.Point(923, 20);
|
|
this.btnStop.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
|
this.btnStop.Name = "btnStop";
|
|
this.btnStop.Size = new System.Drawing.Size(109, 37);
|
|
this.btnStop.TabIndex = 25;
|
|
this.btnStop.Tag = "Data";
|
|
this.btnStop.Text = "Stop";
|
|
this.btnStop.UseVisualStyleBackColor = false;
|
|
this.btnStop.Click += new System.EventHandler(this.btnStop_Click);
|
|
//
|
|
// lbResults
|
|
//
|
|
this.lbResults.BackColor = System.Drawing.Color.Transparent;
|
|
this.lbResults.Font = new System.Drawing.Font("Microsoft Sans Serif", 24F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.lbResults.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(166)))));
|
|
this.lbResults.Location = new System.Drawing.Point(-47, 4);
|
|
this.lbResults.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
|
this.lbResults.Name = "lbResults";
|
|
this.lbResults.Size = new System.Drawing.Size(313, 65);
|
|
this.lbResults.TabIndex = 31;
|
|
this.lbResults.Text = "Baseline";
|
|
this.lbResults.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
|
//
|
|
// menuStrip1
|
|
//
|
|
this.menuStrip1.ImageScalingSize = new System.Drawing.Size(20, 20);
|
|
this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
this.optionsToolStripMenuItem});
|
|
this.menuStrip1.Location = new System.Drawing.Point(0, 0);
|
|
this.menuStrip1.Name = "menuStrip1";
|
|
this.menuStrip1.Padding = new System.Windows.Forms.Padding(8, 1, 0, 1);
|
|
this.menuStrip1.Size = new System.Drawing.Size(1087, 26);
|
|
this.menuStrip1.TabIndex = 32;
|
|
this.menuStrip1.Text = "menuStrip1";
|
|
//
|
|
// optionsToolStripMenuItem
|
|
//
|
|
this.optionsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
this.configurationToolStripMenuItem,
|
|
this.exitToolStripMenuItem});
|
|
this.optionsToolStripMenuItem.Name = "optionsToolStripMenuItem";
|
|
this.optionsToolStripMenuItem.Size = new System.Drawing.Size(73, 24);
|
|
this.optionsToolStripMenuItem.Text = "Options";
|
|
//
|
|
// configurationToolStripMenuItem
|
|
//
|
|
this.configurationToolStripMenuItem.Name = "configurationToolStripMenuItem";
|
|
this.configurationToolStripMenuItem.Size = new System.Drawing.Size(175, 26);
|
|
this.configurationToolStripMenuItem.Text = "Configuration";
|
|
this.configurationToolStripMenuItem.Click += new System.EventHandler(this.configurationToolStripMenuItem_Click);
|
|
//
|
|
// exitToolStripMenuItem
|
|
//
|
|
this.exitToolStripMenuItem.Name = "exitToolStripMenuItem";
|
|
this.exitToolStripMenuItem.Size = new System.Drawing.Size(175, 26);
|
|
this.exitToolStripMenuItem.Text = "Exit";
|
|
this.exitToolStripMenuItem.Click += new System.EventHandler(this.exitToolStripMenuItem_Click);
|
|
//
|
|
// ErrorMessages
|
|
//
|
|
this.ErrorMessages.Location = new System.Drawing.Point(1128, 97);
|
|
this.ErrorMessages.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
|
this.ErrorMessages.Multiline = true;
|
|
this.ErrorMessages.Name = "ErrorMessages";
|
|
this.ErrorMessages.ReadOnly = true;
|
|
this.ErrorMessages.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
|
|
this.ErrorMessages.Size = new System.Drawing.Size(479, 334);
|
|
this.ErrorMessages.TabIndex = 5;
|
|
this.ErrorMessages.TabStop = false;
|
|
//
|
|
// chtTPS
|
|
//
|
|
this.chtTPS.BackColor = System.Drawing.Color.Transparent;
|
|
chartArea1.AxisX.IntervalType = System.Windows.Forms.DataVisualization.Charting.DateTimeIntervalType.Seconds;
|
|
chartArea1.AxisX.MajorGrid.Enabled = false;
|
|
chartArea1.AxisX.MajorGrid.Interval = 0D;
|
|
chartArea1.AxisX.MajorGrid.IntervalOffset = 0D;
|
|
chartArea1.AxisX.MajorGrid.IntervalType = System.Windows.Forms.DataVisualization.Charting.DateTimeIntervalType.Auto;
|
|
chartArea1.AxisX.MajorTickMark.Enabled = false;
|
|
chartArea1.AxisX.Maximum = 100D;
|
|
chartArea1.AxisX.Minimum = 0D;
|
|
chartArea1.AxisY.MajorGrid.Enabled = false;
|
|
chartArea1.AxisY.Minimum = 0D;
|
|
chartArea1.BackColor = System.Drawing.Color.Transparent;
|
|
chartArea1.Name = "ChartArea1";
|
|
this.chtTPS.ChartAreas.Add(chartArea1);
|
|
legend1.BackColor = System.Drawing.Color.Transparent;
|
|
legend1.Enabled = false;
|
|
legend1.Name = "Legend1";
|
|
this.chtTPS.Legends.Add(legend1);
|
|
this.chtTPS.Location = new System.Drawing.Point(449, 110);
|
|
this.chtTPS.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
|
this.chtTPS.Name = "chtTPS";
|
|
this.chtTPS.Palette = System.Windows.Forms.DataVisualization.Charting.ChartColorPalette.None;
|
|
series1.ChartArea = "ChartArea1";
|
|
series1.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Area;
|
|
series1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(166)))));
|
|
series1.Legend = "Legend1";
|
|
series1.MarkerBorderWidth = 3;
|
|
series1.Name = "TPS";
|
|
series1.Points.Add(dataPoint1);
|
|
this.chtTPS.Series.Add(series1);
|
|
this.chtTPS.Size = new System.Drawing.Size(464, 330);
|
|
this.chtTPS.TabIndex = 33;
|
|
this.chtTPS.Text = "chart1";
|
|
//
|
|
// statusStrip1
|
|
//
|
|
this.statusStrip1.ImageScalingSize = new System.Drawing.Size(20, 20);
|
|
this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
this.toolStripStatusLabel1,
|
|
this.lblTime,
|
|
this.toolStripStatusLabel3,
|
|
this.lblThreads});
|
|
this.statusStrip1.Location = new System.Drawing.Point(0, 796);
|
|
this.statusStrip1.Name = "statusStrip1";
|
|
this.statusStrip1.Padding = new System.Windows.Forms.Padding(1, 0, 19, 0);
|
|
this.statusStrip1.Size = new System.Drawing.Size(1087, 25);
|
|
this.statusStrip1.TabIndex = 35;
|
|
this.statusStrip1.Text = "statusStrip1";
|
|
//
|
|
// toolStripStatusLabel1
|
|
//
|
|
this.toolStripStatusLabel1.Name = "toolStripStatusLabel1";
|
|
this.toolStripStatusLabel1.Size = new System.Drawing.Size(101, 20);
|
|
this.toolStripStatusLabel1.Text = "Elapsed Time:";
|
|
//
|
|
// lblTime
|
|
//
|
|
this.lblTime.Name = "lblTime";
|
|
this.lblTime.Size = new System.Drawing.Size(17, 20);
|
|
this.lblTime.Text = "0";
|
|
//
|
|
// toolStripStatusLabel3
|
|
//
|
|
this.toolStripStatusLabel3.Name = "toolStripStatusLabel3";
|
|
this.toolStripStatusLabel3.Size = new System.Drawing.Size(122, 20);
|
|
this.toolStripStatusLabel3.Text = "Running Threads:";
|
|
//
|
|
// lblThreads
|
|
//
|
|
this.lblThreads.Name = "lblThreads";
|
|
this.lblThreads.Size = new System.Drawing.Size(17, 20);
|
|
this.lblThreads.Text = "0";
|
|
//
|
|
// splitContainer1
|
|
//
|
|
this.splitContainer1.BackColor = System.Drawing.Color.Transparent;
|
|
this.splitContainer1.Location = new System.Drawing.Point(0, 31);
|
|
this.splitContainer1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
|
this.splitContainer1.Name = "splitContainer1";
|
|
this.splitContainer1.Orientation = System.Windows.Forms.Orientation.Horizontal;
|
|
//
|
|
// splitContainer1.Panel1
|
|
//
|
|
this.splitContainer1.Panel1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None;
|
|
this.splitContainer1.Panel1.Controls.Add(this.label4);
|
|
this.splitContainer1.Panel1.Controls.Add(this.speedDialPanel);
|
|
this.splitContainer1.Panel1.Controls.Add(this.label2);
|
|
this.splitContainer1.Panel1.Controls.Add(this.label1);
|
|
this.splitContainer1.Panel1.Controls.Add(this.btnToggle);
|
|
this.splitContainer1.Panel1.Controls.Add(this.chtTPS);
|
|
this.splitContainer1.Panel1.Controls.Add(this.btnRun);
|
|
this.splitContainer1.Panel1.Controls.Add(this.btnStop);
|
|
this.splitContainer1.Panel1.Controls.Add(this.lbResults);
|
|
//
|
|
// splitContainer1.Panel2
|
|
//
|
|
this.splitContainer1.Panel2.Controls.Add(this.chtLatches);
|
|
this.splitContainer1.Panel2.Controls.Add(this.chtCPU);
|
|
this.splitContainer1.Size = new System.Drawing.Size(1048, 806);
|
|
this.splitContainer1.SplitterDistance = 490;
|
|
this.splitContainer1.SplitterWidth = 5;
|
|
this.splitContainer1.TabIndex = 39;
|
|
//
|
|
// label4
|
|
//
|
|
this.label4.AutoSize = true;
|
|
this.label4.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
|
this.label4.Font = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.label4.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
|
|
this.label4.Location = new System.Drawing.Point(156, 400);
|
|
this.label4.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
|
this.label4.Name = "label4";
|
|
this.label4.Size = new System.Drawing.Size(158, 17);
|
|
this.label4.TabIndex = 45;
|
|
this.label4.Text = "Transactions/sec x1000";
|
|
//
|
|
// speedDialPanel
|
|
//
|
|
this.speedDialPanel.Location = new System.Drawing.Point(28, 106);
|
|
this.speedDialPanel.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
|
this.speedDialPanel.Name = "speedDialPanel";
|
|
this.speedDialPanel.Size = new System.Drawing.Size(425, 320);
|
|
this.speedDialPanel.TabIndex = 43;
|
|
//
|
|
// label2
|
|
//
|
|
this.label2.AutoSize = true;
|
|
this.label2.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
|
this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.label2.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
|
|
this.label2.Location = new System.Drawing.Point(472, 85);
|
|
this.label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
|
this.label2.Name = "label2";
|
|
this.label2.Size = new System.Drawing.Size(148, 20);
|
|
this.label2.TabIndex = 42;
|
|
this.label2.Text = "Transactions / sec";
|
|
//
|
|
// label1
|
|
//
|
|
this.label1.AutoSize = true;
|
|
this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.label1.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
|
|
this.label1.Location = new System.Drawing.Point(27, 84);
|
|
this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
|
this.label1.Name = "label1";
|
|
this.label1.Size = new System.Drawing.Size(310, 20);
|
|
this.label1.TabIndex = 41;
|
|
this.label1.Text = "Increase in performance since last reset";
|
|
//
|
|
// btnToggle
|
|
//
|
|
this.btnToggle.BackColor = System.Drawing.Color.White;
|
|
this.btnToggle.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
|
this.btnToggle.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.btnToggle.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
|
|
this.btnToggle.Location = new System.Drawing.Point(24, 446);
|
|
this.btnToggle.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
|
this.btnToggle.Name = "btnToggle";
|
|
this.btnToggle.Size = new System.Drawing.Size(199, 37);
|
|
this.btnToggle.TabIndex = 39;
|
|
this.btnToggle.Text = "Show diagnostics ";
|
|
this.btnToggle.UseVisualStyleBackColor = false;
|
|
this.btnToggle.Click += new System.EventHandler(this.btnToggle_Click);
|
|
//
|
|
// chtLatches
|
|
//
|
|
chartArea2.AxisX.Enabled = System.Windows.Forms.DataVisualization.Charting.AxisEnabled.False;
|
|
chartArea2.AxisX.LabelStyle.Enabled = false;
|
|
chartArea2.AxisX.LineColor = System.Drawing.Color.White;
|
|
chartArea2.AxisX.LineDashStyle = System.Windows.Forms.DataVisualization.Charting.ChartDashStyle.NotSet;
|
|
chartArea2.AxisX.LineWidth = 0;
|
|
chartArea2.AxisX.MajorGrid.Enabled = false;
|
|
chartArea2.AxisX.MajorTickMark.Enabled = false;
|
|
chartArea2.AxisY.LineDashStyle = System.Windows.Forms.DataVisualization.Charting.ChartDashStyle.NotSet;
|
|
chartArea2.AxisY.MajorGrid.Enabled = false;
|
|
chartArea2.AxisY.MajorTickMark.Enabled = false;
|
|
chartArea2.AxisY.Maximum = 170000D;
|
|
chartArea2.AxisY.Minimum = 0D;
|
|
chartArea2.AxisY.Title = "Current latches / sec";
|
|
chartArea2.AxisY.TitleFont = new System.Drawing.Font("Microsoft Sans Serif", 10F);
|
|
chartArea2.AxisY.TitleForeColor = System.Drawing.SystemColors.ControlDarkDark;
|
|
chartArea2.BorderWidth = 0;
|
|
chartArea2.Name = "ChartArea1";
|
|
this.chtLatches.ChartAreas.Add(chartArea2);
|
|
this.chtLatches.Location = new System.Drawing.Point(0, 148);
|
|
this.chtLatches.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
|
this.chtLatches.Name = "chtLatches";
|
|
series2.ChartArea = "ChartArea1";
|
|
series2.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Bar;
|
|
series2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(73)))), ((int)(((byte)(0)))));
|
|
series2.Name = "Latches";
|
|
series2.Points.Add(dataPoint2);
|
|
this.chtLatches.Series.Add(series2);
|
|
this.chtLatches.Size = new System.Drawing.Size(913, 103);
|
|
this.chtLatches.TabIndex = 42;
|
|
this.chtLatches.Text = "chart1";
|
|
//
|
|
// chtCPU
|
|
//
|
|
this.chtCPU.BackColor = System.Drawing.Color.Transparent;
|
|
chartArea3.AxisX.LabelStyle.Enabled = false;
|
|
chartArea3.AxisX.LineColor = System.Drawing.Color.White;
|
|
chartArea3.AxisX.MajorGrid.Enabled = false;
|
|
chartArea3.AxisX.MajorTickMark.Enabled = false;
|
|
chartArea3.AxisX.MaximumAutoSize = 10F;
|
|
chartArea3.AxisY.LineDashStyle = System.Windows.Forms.DataVisualization.Charting.ChartDashStyle.NotSet;
|
|
chartArea3.AxisY.MajorGrid.Enabled = false;
|
|
chartArea3.AxisY.MajorTickMark.Enabled = false;
|
|
chartArea3.AxisY.Maximum = 100D;
|
|
chartArea3.AxisY.Minimum = 0D;
|
|
chartArea3.AxisY.Title = "Current % CPU Usage";
|
|
chartArea3.AxisY.TitleForeColor = System.Drawing.SystemColors.ControlDarkDark;
|
|
chartArea3.BackColor = System.Drawing.Color.White;
|
|
chartArea3.BorderColor = System.Drawing.Color.White;
|
|
chartArea3.Name = "ChartArea1";
|
|
chartArea3.Position.Auto = false;
|
|
chartArea3.Position.Height = 30F;
|
|
chartArea3.Position.Width = 77.49682F;
|
|
chartArea3.Position.X = 3F;
|
|
chartArea3.Position.Y = 1F;
|
|
this.chtCPU.ChartAreas.Add(chartArea3);
|
|
this.chtCPU.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.chtCPU.Location = new System.Drawing.Point(0, 0);
|
|
this.chtCPU.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
|
this.chtCPU.Name = "chtCPU";
|
|
this.chtCPU.Palette = System.Windows.Forms.DataVisualization.Charting.ChartColorPalette.None;
|
|
series3.ChartArea = "ChartArea1";
|
|
series3.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Bar;
|
|
series3.Color = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(198)))), ((int)(((byte)(0)))));
|
|
series3.Name = "CPUUsage";
|
|
series3.Points.Add(dataPoint3);
|
|
this.chtCPU.Series.Add(series3);
|
|
this.chtCPU.Size = new System.Drawing.Size(1048, 311);
|
|
this.chtCPU.TabIndex = 41;
|
|
//
|
|
// label3
|
|
//
|
|
this.label3.AutoSize = true;
|
|
this.label3.BackColor = System.Drawing.Color.Transparent;
|
|
this.label3.Location = new System.Drawing.Point(1124, 49);
|
|
this.label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
|
this.label3.Name = "label3";
|
|
this.label3.Size = new System.Drawing.Size(112, 17);
|
|
this.label3.TabIndex = 11;
|
|
this.label3.Text = "Error Messages:";
|
|
//
|
|
// FrmMain
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.BackColor = System.Drawing.Color.White;
|
|
this.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
|
|
this.ClientSize = new System.Drawing.Size(1087, 821);
|
|
this.Controls.Add(this.statusStrip1);
|
|
this.Controls.Add(this.splitContainer1);
|
|
this.Controls.Add(this.label3);
|
|
this.Controls.Add(this.ErrorMessages);
|
|
this.Controls.Add(this.menuStrip1);
|
|
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
|
this.MainMenuStrip = this.menuStrip1;
|
|
this.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
|
this.Name = "FrmMain";
|
|
this.Text = "Blue Yonder Ticket Reservation Simulator";
|
|
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FrmMain_FormClosing);
|
|
this.Load += new System.EventHandler(this.FrmMain_Load);
|
|
this.menuStrip1.ResumeLayout(false);
|
|
this.menuStrip1.PerformLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.chtTPS)).EndInit();
|
|
this.statusStrip1.ResumeLayout(false);
|
|
this.statusStrip1.PerformLayout();
|
|
this.splitContainer1.Panel1.ResumeLayout(false);
|
|
this.splitContainer1.Panel1.PerformLayout();
|
|
this.splitContainer1.Panel2.ResumeLayout(false);
|
|
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
|
|
this.splitContainer1.ResumeLayout(false);
|
|
((System.ComponentModel.ISupportInitialize)(this.chtLatches)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.chtCPU)).EndInit();
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.Button btnRun;
|
|
private System.Windows.Forms.Button btnStop;
|
|
private System.Windows.Forms.Label lbResults;
|
|
private System.Windows.Forms.MenuStrip menuStrip1;
|
|
private System.Windows.Forms.ToolStripMenuItem optionsToolStripMenuItem;
|
|
private System.Windows.Forms.ToolStripMenuItem configurationToolStripMenuItem;
|
|
private System.Windows.Forms.ToolStripMenuItem exitToolStripMenuItem;
|
|
private System.Windows.Forms.TextBox ErrorMessages;
|
|
private System.Windows.Forms.DataVisualization.Charting.Chart chtTPS;
|
|
private System.Windows.Forms.StatusStrip statusStrip1;
|
|
private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabel1;
|
|
private System.Windows.Forms.ToolStripStatusLabel lblTime;
|
|
private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabel3;
|
|
private System.Windows.Forms.ToolStripStatusLabel lblThreads;
|
|
private System.Windows.Forms.SplitContainer splitContainer1;
|
|
private System.Windows.Forms.Button btnToggle;
|
|
private System.Windows.Forms.DataVisualization.Charting.Chart chtCPU;
|
|
private System.Windows.Forms.Label label3;
|
|
private System.Windows.Forms.Label label1;
|
|
private System.Windows.Forms.Label label2;
|
|
private System.Windows.Forms.DataVisualization.Charting.Chart chtLatches;
|
|
private System.Windows.Forms.Panel speedDialPanel;
|
|
private System.Windows.Forms.Label label4;
|
|
}
|
|
}
|
|
|