Changeset 14711 for branches/PersistenceOverhaul/HeuristicLab.Persistence.GUI/3.3/PersistenceConfigurationForm.cs
- Timestamp:
- 03/03/17 11:41:43 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/PersistenceOverhaul/HeuristicLab.Persistence.GUI/3.3/PersistenceConfigurationForm.cs
r11172 r14711 85 85 private void UpdatePrimitiveSerializersGrid(DataGridView primitiveSerializersGrid, Configuration config) { 86 86 foreach (DataGridViewRow row in primitiveSerializersGrid.Rows) { 87 if (row.Cells[" Type"] != null) {88 IPrimitiveSerializer primitiveSerializer = config.GetPrimitiveSerializer(typeNameTable[(string)row.Cells[" Type"].Value]);87 if (row.Cells["MemberSelection"] != null) { 88 IPrimitiveSerializer primitiveSerializer = config.GetPrimitiveSerializer(typeNameTable[(string)row.Cells["MemberSelection"].Value]); 89 89 if (primitiveSerializer == null) { 90 90 row.Cells["Active"].Value = false; … … 194 194 gridView.CellValueChanged += gridView_CellValueChanged; 195 195 gridView.Columns.Add(new DataGridViewTextBoxColumn { 196 Name = " Type", ReadOnly = true,196 Name = "MemberSelection", ReadOnly = true, 197 197 AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill 198 198 }); … … 246 246 foreach (var primitiveSerializersMapping in primitiveSerializersMap) { 247 247 var row = gridView.Rows[gridView.Rows.Add()]; 248 row.Cells[" Type"].Value = primitiveSerializersMapping.Key;249 row.Cells[" Type"].ToolTipText = primitiveSerializersMapping.Key;248 row.Cells["MemberSelection"].Value = primitiveSerializersMapping.Key; 249 row.Cells["MemberSelection"].ToolTipText = primitiveSerializersMapping.Key; 250 250 row.Cells["Active"].Value = true; 251 251 var comboBoxCell = (DataGridViewComboBoxCell)row.Cells["Primitive Serializer"]; … … 406 406 var primitiveSerializers = new List<IPrimitiveSerializer>(); 407 407 foreach (DataGridViewRow row in primitiveSerializersGrid.Rows) { 408 if (row.Cells[" Type"].Value != null &&408 if (row.Cells["MemberSelection"].Value != null && 409 409 row.Cells["Active"].Value != null && 410 410 row.Cells["Primitive Serializer"].Value != null &&
Note: See TracChangeset
for help on using the changeset viewer.