Changeset 8968 for trunk/sources
- Timestamp:
- 11/28/12 12:55:44 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Optimization.Views/3.3/ProblemView.cs
r7956 r8968 57 57 IEnumerable<Type> viewTypes = MainFormManager.GetViewTypes(consumer.GetType(), true); 58 58 Type genericView = viewTypes.Where(x => x.IsSubclassOf(neededViewType)).First(); 59 ProblemInstanceConsumerViewHost.Content = null; //necessary to enable the change of the ViewType 59 60 ProblemInstanceConsumerViewHost.ViewType = genericView; 60 61 ProblemInstanceConsumerViewHost.Content = consumer;
Note: See TracChangeset
for help on using the changeset viewer.