Changeset 2207 for branches/HeuristicLab.Modeling Database Backend/sources/HeuristicLab.CEDMA.Core/3.3/TableResultsView.cs
- Timestamp:
- 07/29/09 14:44:07 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Modeling Database Backend/sources/HeuristicLab.CEDMA.Core/3.3/TableResultsView.cs
r2139 r2207 10 10 using HeuristicLab.CEDMA.Core; 11 11 using HeuristicLab.PluginInfrastructure; 12 using HeuristicLab.CEDMA.DB.Interfaces;13 12 14 13 namespace HeuristicLab.CEDMA.Core { … … 70 69 DataGridView.HitTestInfo hitInfo = dataGridView.HitTest(e.X, e.Y); 71 70 ResultsEntry entry = (ResultsEntry)dataGridView.Rows[hitInfo.RowIndex].Tag; 72 string serializedData = (string)entry.Get(Ontology.SerializedData.Uri.Replace(Ontology.CedmaNameSpace, "")); 73 var model = (IItem)PersistenceManager.RestoreFromGZip(Convert.FromBase64String(serializedData)); 71 var model = (IItem)PersistenceManager.RestoreFromGZip((byte[])entry.Get("PersistedData")); 74 72 PluginManager.ControlManager.ShowControl(model.CreateView()); 75 73 }
Note: See TracChangeset
for help on using the changeset viewer.