Changeset 283
- Timestamp:
- 06/02/08 11:23:03 (16 years ago)
- Location:
- trunk/sources/HeuristicLab.Logging
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Logging/HeuristicLab.Logging.csproj
r30 r283 46 46 <ItemGroup> 47 47 <Compile Include="BestAverageWorstQualityCalculator.cs" /> 48 <Compile Include="Logger.cs" /> 48 49 <Compile Include="Linechart.cs" /> 49 50 <Compile Include="HeuristicLabLoggingPlugin.cs" /> -
trunk/sources/HeuristicLab.Logging/LogView.Designer.cs
r2 r283 58 58 this.qualityLogTextBox.Name = "qualityLogTextBox"; 59 59 this.qualityLogTextBox.ReadOnly = true; 60 this.qualityLogTextBox.ScrollBars = System.Windows.Forms.ScrollBars. Vertical;60 this.qualityLogTextBox.ScrollBars = System.Windows.Forms.ScrollBars.Both; 61 61 this.qualityLogTextBox.Size = new System.Drawing.Size(150, 150); 62 62 this.qualityLogTextBox.TabIndex = 0; 63 this.qualityLogTextBox.WordWrap = false; 63 64 // 64 // QualityLogDataView65 // LogView 65 66 // 66 67 this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); 67 68 this.Controls.Add(this.qualityLogTextBox); 68 this.Name = " QualityLogDataView";69 this.Name = "LogView"; 69 70 this.ResumeLayout(false); 70 71 this.PerformLayout(); -
trunk/sources/HeuristicLab.Logging/LogView.cs
r2 r283 69 69 string[] lines = new string[Log.Items.Count]; 70 70 for (int i = 0; i < Log.Items.Count; i++) { 71 double[] values = ((DoubleArrayData)Log.Items[i]).Data; 72 lines[i] = values[0].ToString() + " " + 73 values[1].ToString() + " " + 74 values[2].ToString(); 71 lines[i] = Log.Items[i].ToString().Replace(';','\t'); 75 72 } 76 73 qualityLogTextBox.Lines = lines; … … 104 101 Array.Copy(qualityLogTextBox.Lines, 0, lines, 0, index); 105 102 Array.Copy(qualityLogTextBox.Lines, index, lines, index + 1, qualityLogTextBox.Lines.Length - index); 106 double[] values = ((DoubleArrayData)Log.Items[index]).Data; 107 lines[index] = values[0].ToString() + " " + 108 values[1].ToString() + " " + 109 values[2].ToString(); 103 lines[index] = Log.Items[index].ToString().Replace(';', '\t'); 110 104 qualityLogTextBox.Lines = lines; 111 105 }
Note: See TracChangeset
for help on using the changeset viewer.