Changeset 2520 for trunk/sources/HeuristicLab.Data/3.3/ItemListView_T.cs
- Timestamp:
- 11/23/09 11:08:34 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Data/3.3/ItemListView_T.cs
r2474 r2520 28 28 using System.Windows.Forms; 29 29 using HeuristicLab.Core; 30 using HeuristicLab.Core.Views; 30 31 using HeuristicLab.Common; 32 using HeuristicLab.MainForm; 31 33 32 34 namespace HeuristicLab.Data { … … 128 130 if(itemsListView.SelectedItems.Count == 1) { 129 131 IItem data = (IItem)itemsListView.SelectedItems[0].Tag; 130 Control view = (Control) data.CreateView();132 Control view = (Control)MainFormManager.CreateDefaultView(data); 131 133 detailsGroupBox.Controls.Add(view); 132 134 view.Dock = DockStyle.Fill; … … 171 173 ItemList.Add((T)chooseItemDialog.Item); 172 174 } catch(Exception ex) { 173 Auxiliary.ShowErrorMessageBox(ex);175 HeuristicLab.Core.Views.Auxiliary.ShowErrorMessageBox(ex); 174 176 } 175 177 }
Note: See TracChangeset
for help on using the changeset viewer.