##// END OF EJS Templates
Added 'Fail' method to RunnableComponent which allows component to move from...
Added 'Fail' method to RunnableComponent which allows component to move from Running to Failed state. Added PollingComponent a timer based runnable component More tests Added FailPromise a thin class to wrap exceptions Fixed error handling in SuccessPromise classes.

File last commit:

r48:d9d794b61bb9 interactive logger
r203:4d9830a9bbb8 v2
Show More
TraceForm.Designer.cs
133 lines | 8.3 KiB | text/x-csharp | CSharpLexer
namespace Implab.Diagnostics.Interactive {
partial class TraceForm {
/// <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() {
this.components = new System.ComponentModel.Container();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
this.eventsDataGrid = new System.Windows.Forms.DataGridView();
this.traceViewItemBindingSource = new System.Windows.Forms.BindingSource(this.components);
this.threadDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Channel = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.messageDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
((System.ComponentModel.ISupportInitialize)(this.eventsDataGrid)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.traceViewItemBindingSource)).BeginInit();
this.SuspendLayout();
//
// eventsDataGrid
//
this.eventsDataGrid.AllowUserToAddRows = false;
this.eventsDataGrid.AllowUserToDeleteRows = false;
this.eventsDataGrid.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.eventsDataGrid.AutoGenerateColumns = false;
this.eventsDataGrid.BackgroundColor = System.Drawing.SystemColors.Window;
dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
dataGridViewCellStyle1.Font = new System.Drawing.Font("Lucida Console", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.eventsDataGrid.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
this.eventsDataGrid.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.eventsDataGrid.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.threadDataGridViewTextBoxColumn,
this.Channel,
this.messageDataGridViewTextBoxColumn});
this.eventsDataGrid.DataSource = this.traceViewItemBindingSource;
dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle3.BackColor = System.Drawing.SystemColors.Window;
dataGridViewCellStyle3.Font = new System.Drawing.Font("Lucida Console", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
dataGridViewCellStyle3.ForeColor = System.Drawing.SystemColors.ControlText;
dataGridViewCellStyle3.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle3.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.eventsDataGrid.DefaultCellStyle = dataGridViewCellStyle3;
this.eventsDataGrid.Location = new System.Drawing.Point(12, 12);
this.eventsDataGrid.Name = "eventsDataGrid";
this.eventsDataGrid.ReadOnly = true;
this.eventsDataGrid.RowHeadersWidth = 17;
this.eventsDataGrid.RowTemplate.Resizable = System.Windows.Forms.DataGridViewTriState.False;
this.eventsDataGrid.Size = new System.Drawing.Size(939, 480);
this.eventsDataGrid.TabIndex = 1;
this.eventsDataGrid.CellFormatting += new System.Windows.Forms.DataGridViewCellFormattingEventHandler(this.eventsDataGrid_CellFormatting);
//
// traceViewItemBindingSource
//
this.traceViewItemBindingSource.DataSource = typeof(Implab.Diagnostics.Interactive.TraceViewItem);
//
// threadDataGridViewTextBoxColumn
//
this.threadDataGridViewTextBoxColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCellsExceptHeader;
this.threadDataGridViewTextBoxColumn.DataPropertyName = "Thread";
this.threadDataGridViewTextBoxColumn.HeaderText = "TID";
this.threadDataGridViewTextBoxColumn.Name = "threadDataGridViewTextBoxColumn";
this.threadDataGridViewTextBoxColumn.ReadOnly = true;
this.threadDataGridViewTextBoxColumn.Width = 5;
//
// Channel
//
this.Channel.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells;
this.Channel.DataPropertyName = "Channel";
this.Channel.HeaderText = "Channel";
this.Channel.Name = "Channel";
this.Channel.ReadOnly = true;
this.Channel.Width = 79;
//
// messageDataGridViewTextBoxColumn
//
this.messageDataGridViewTextBoxColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.messageDataGridViewTextBoxColumn.DataPropertyName = "FormattedMessage";
dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.messageDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle2;
this.messageDataGridViewTextBoxColumn.HeaderText = "Message";
this.messageDataGridViewTextBoxColumn.Name = "messageDataGridViewTextBoxColumn";
this.messageDataGridViewTextBoxColumn.ReadOnly = true;
//
// TraceForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(963, 504);
this.Controls.Add(this.eventsDataGrid);
this.Name = "TraceForm";
this.Text = "TraceForm";
((System.ComponentModel.ISupportInitialize)(this.eventsDataGrid)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.traceViewItemBindingSource)).EndInit();
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.DataGridView eventsDataGrid;
private System.Windows.Forms.BindingSource traceViewItemBindingSource;
private System.Windows.Forms.DataGridViewTextBoxColumn threadDataGridViewTextBoxColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn Channel;
private System.Windows.Forms.DataGridViewTextBoxColumn messageDataGridViewTextBoxColumn;
}
}