Changeset 343
- Timestamp:
- 06/26/08 13:19:05 (17 years ago)
- Location:
- branches/Ticket175Branch/HeuristicLab.Data
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Ticket175Branch/HeuristicLab.Data/ArrayDataBaseView.Designer.cs
r2 r343 105 105 private System.Windows.Forms.Label sizeLabel; 106 106 private System.Windows.Forms.TextBox lengthTextBox; 107 pr ivateSystem.Windows.Forms.DataGridView dataGridView;107 protected System.Windows.Forms.DataGridView dataGridView; 108 108 } 109 109 } -
branches/Ticket175Branch/HeuristicLab.Data/ArrayDataBaseView.cs
r2 r343 64 64 dataGridView.RowCount = length; 65 65 for (int i = 0; i < length; i++) { 66 dataGridView.Rows[i].Cells[0].Value = ArrayDataBase.Data.GetValue(i); ;66 dataGridView.Rows[i].Cells[0].Value = ArrayDataBase.Data.GetValue(i); 67 67 } 68 68 } else { -
branches/Ticket175Branch/HeuristicLab.Data/ConstrainedDoubleDataView.cs
r2 r343 62 62 } else { 63 63 dataTextBox.Enabled = true; 64 dataTextBox.Text = ConstrainedDoubleData. ToString();64 dataTextBox.Text = ConstrainedDoubleData.Data.ToString("r"); 65 65 } 66 66 } -
branches/Ticket175Branch/HeuristicLab.Data/DoubleArrayData.cs
r2 r343 65 65 for(int i = 0; i < Data.Length; i++) { 66 66 builder.Append(";"); 67 builder.Append(Data[i].ToString( format));67 builder.Append(Data[i].ToString("r", format)); 68 68 } 69 69 if(builder.Length > 0) -
branches/Ticket175Branch/HeuristicLab.Data/DoubleArrayDataView.cs
r2 r343 37 37 public DoubleArrayDataView() { 38 38 InitializeComponent(); 39 // round-trip format for all cells 40 dataGridView.DefaultCellStyle.Format = "r"; 39 41 } 40 42 public DoubleArrayDataView(DoubleArrayData doubleArrayData) -
branches/Ticket175Branch/HeuristicLab.Data/DoubleData.cs
r2 r343 54 54 public override XmlNode GetXmlNode(string name, XmlDocument document, IDictionary<Guid,IStorable> persistedObjects) { 55 55 XmlNode node = base.GetXmlNode(name, document, persistedObjects); 56 node.InnerText = Data.ToString( CultureInfo.InvariantCulture.NumberFormat);56 node.InnerText = Data.ToString("r", CultureInfo.InvariantCulture.NumberFormat); 57 57 return node; 58 58 } -
branches/Ticket175Branch/HeuristicLab.Data/DoubleDataView.cs
r2 r343 59 59 } else { 60 60 dataTextBox.Enabled = true; 61 dataTextBox.Text = DoubleData. ToString();61 dataTextBox.Text = DoubleData.Data.ToString("r"); 62 62 } 63 63 } -
branches/Ticket175Branch/HeuristicLab.Data/DoubleMatrixData.cs
r2 r343 81 81 for (int j = 0; j < Data.GetLength(1); j++) { 82 82 builder.Append(";"); 83 builder.Append(Data[i, j].ToString( format));83 builder.Append(Data[i, j].ToString("r", format)); 84 84 } 85 85 } -
branches/Ticket175Branch/HeuristicLab.Data/DoubleMatrixDataView.cs
r2 r343 37 37 public DoubleMatrixDataView() { 38 38 InitializeComponent(); 39 // round-trip format for all cells 40 dataGridView.DefaultCellStyle.Format = "r"; 39 41 } 40 42 public DoubleMatrixDataView(DoubleMatrixData doubleMatrixData) -
branches/Ticket175Branch/HeuristicLab.Data/MatrixDataBaseView.Designer.cs
r2 r343 132 132 private System.Windows.Forms.Label rowsLabel; 133 133 private System.Windows.Forms.TextBox rowsTextBox; 134 pr ivateSystem.Windows.Forms.DataGridView dataGridView;134 protected System.Windows.Forms.DataGridView dataGridView; 135 135 private System.Windows.Forms.TextBox columnsTextBox; 136 136 private System.Windows.Forms.Label columnsLabel;
Note: See TracChangeset
for help on using the changeset viewer.