Mercurial > pub > ImplabNet
comparison Implab.Diagnostics.Interactive/TraceForm.Designer.cs @ 47:b181f7bcb259 interactive logger
refactoring, interactive tarce log almost complete
author | cin |
---|---|
date | Thu, 17 Apr 2014 18:49:36 +0400 |
parents | d10034588e38 |
children | d9d794b61bb9 |
comparison
equal
deleted
inserted
replaced
46:9ce97b262a7a | 47:b181f7bcb259 |
---|---|
21 /// <summary> | 21 /// <summary> |
22 /// Required method for Designer support - do not modify | 22 /// Required method for Designer support - do not modify |
23 /// the contents of this method with the code editor. | 23 /// the contents of this method with the code editor. |
24 /// </summary> | 24 /// </summary> |
25 private void InitializeComponent() { | 25 private void InitializeComponent() { |
26 this.traceViewControl1 = new Implab.Diagnostics.Interactive.TraceViewControl(); | 26 this.components = new System.ComponentModel.Container(); |
27 System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); | |
28 System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle(); | |
29 System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); | |
30 this.eventsDataGrid = new System.Windows.Forms.DataGridView(); | |
31 this.traceViewItemBindingSource = new System.Windows.Forms.BindingSource(this.components); | |
32 this.threadDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); | |
33 this.messageDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); | |
34 ((System.ComponentModel.ISupportInitialize)(this.eventsDataGrid)).BeginInit(); | |
35 ((System.ComponentModel.ISupportInitialize)(this.traceViewItemBindingSource)).BeginInit(); | |
27 this.SuspendLayout(); | 36 this.SuspendLayout(); |
28 // | 37 // |
29 // traceViewControl1 | 38 // eventsDataGrid |
30 // | 39 // |
31 this.traceViewControl1.Location = new System.Drawing.Point(13, 13); | 40 this.eventsDataGrid.AllowUserToAddRows = false; |
32 this.traceViewControl1.Name = "traceViewControl1"; | 41 this.eventsDataGrid.AllowUserToDeleteRows = false; |
33 this.traceViewControl1.Size = new System.Drawing.Size(267, 248); | 42 this.eventsDataGrid.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) |
34 this.traceViewControl1.TabIndex = 0; | 43 | System.Windows.Forms.AnchorStyles.Left) |
44 | System.Windows.Forms.AnchorStyles.Right))); | |
45 this.eventsDataGrid.AutoGenerateColumns = false; | |
46 this.eventsDataGrid.BackgroundColor = System.Drawing.SystemColors.Window; | |
47 dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; | |
48 dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); | |
49 dataGridViewCellStyle1.Font = new System.Drawing.Font("Lucida Console", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); | |
50 dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText; | |
51 dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight; | |
52 dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText; | |
53 dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True; | |
54 this.eventsDataGrid.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1; | |
55 this.eventsDataGrid.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; | |
56 this.eventsDataGrid.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { | |
57 this.threadDataGridViewTextBoxColumn, | |
58 this.messageDataGridViewTextBoxColumn}); | |
59 this.eventsDataGrid.DataSource = this.traceViewItemBindingSource; | |
60 dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; | |
61 dataGridViewCellStyle3.BackColor = System.Drawing.SystemColors.Window; | |
62 dataGridViewCellStyle3.Font = new System.Drawing.Font("Lucida Console", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); | |
63 dataGridViewCellStyle3.ForeColor = System.Drawing.SystemColors.ControlText; | |
64 dataGridViewCellStyle3.SelectionBackColor = System.Drawing.SystemColors.Highlight; | |
65 dataGridViewCellStyle3.SelectionForeColor = System.Drawing.SystemColors.HighlightText; | |
66 dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.False; | |
67 this.eventsDataGrid.DefaultCellStyle = dataGridViewCellStyle3; | |
68 this.eventsDataGrid.Location = new System.Drawing.Point(12, 12); | |
69 this.eventsDataGrid.Name = "eventsDataGrid"; | |
70 this.eventsDataGrid.ReadOnly = true; | |
71 this.eventsDataGrid.RowHeadersWidth = 17; | |
72 this.eventsDataGrid.RowTemplate.Resizable = System.Windows.Forms.DataGridViewTriState.False; | |
73 this.eventsDataGrid.Size = new System.Drawing.Size(939, 480); | |
74 this.eventsDataGrid.TabIndex = 1; | |
75 this.eventsDataGrid.CellFormatting += new System.Windows.Forms.DataGridViewCellFormattingEventHandler(this.eventsDataGrid_CellFormatting); | |
76 // | |
77 // traceViewItemBindingSource | |
78 // | |
79 this.traceViewItemBindingSource.DataSource = typeof(Implab.Diagnostics.Interactive.TraceViewItem); | |
80 // | |
81 // threadDataGridViewTextBoxColumn | |
82 // | |
83 this.threadDataGridViewTextBoxColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCellsExceptHeader; | |
84 this.threadDataGridViewTextBoxColumn.DataPropertyName = "Thread"; | |
85 this.threadDataGridViewTextBoxColumn.HeaderText = "TID"; | |
86 this.threadDataGridViewTextBoxColumn.Name = "threadDataGridViewTextBoxColumn"; | |
87 this.threadDataGridViewTextBoxColumn.ReadOnly = true; | |
88 this.threadDataGridViewTextBoxColumn.Width = 5; | |
89 // | |
90 // messageDataGridViewTextBoxColumn | |
91 // | |
92 this.messageDataGridViewTextBoxColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; | |
93 this.messageDataGridViewTextBoxColumn.DataPropertyName = "FormattedMessage"; | |
94 dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False; | |
95 this.messageDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle2; | |
96 this.messageDataGridViewTextBoxColumn.HeaderText = "Message"; | |
97 this.messageDataGridViewTextBoxColumn.Name = "messageDataGridViewTextBoxColumn"; | |
98 this.messageDataGridViewTextBoxColumn.ReadOnly = true; | |
35 // | 99 // |
36 // TraceForm | 100 // TraceForm |
37 // | 101 // |
38 this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); | 102 this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); |
39 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; | 103 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; |
40 this.ClientSize = new System.Drawing.Size(292, 273); | 104 this.ClientSize = new System.Drawing.Size(963, 504); |
41 this.Controls.Add(this.traceViewControl1); | 105 this.Controls.Add(this.eventsDataGrid); |
42 this.Name = "TraceForm"; | 106 this.Name = "TraceForm"; |
43 this.Text = "TraceForm"; | 107 this.Text = "TraceForm"; |
108 ((System.ComponentModel.ISupportInitialize)(this.eventsDataGrid)).EndInit(); | |
109 ((System.ComponentModel.ISupportInitialize)(this.traceViewItemBindingSource)).EndInit(); | |
44 this.ResumeLayout(false); | 110 this.ResumeLayout(false); |
45 | 111 |
46 } | 112 } |
47 | 113 |
48 #endregion | 114 #endregion |
49 | 115 |
50 private TraceViewControl traceViewControl1; | 116 private System.Windows.Forms.DataGridView eventsDataGrid; |
117 private System.Windows.Forms.BindingSource traceViewItemBindingSource; | |
118 private System.Windows.Forms.DataGridViewTextBoxColumn threadDataGridViewTextBoxColumn; | |
119 private System.Windows.Forms.DataGridViewTextBoxColumn messageDataGridViewTextBoxColumn; | |
120 | |
51 } | 121 } |
52 } | 122 } |