Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/23/09 11:08:34 (15 years ago)
Author:
swagner
Message:

Implemented first draft of MainForm support in HeuristicLab.Core/HeuristicLab.Core.Views and all other depending plugins (#770)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Data/3.3/ItemListView_T.cs

    r2474 r2520  
    2828using System.Windows.Forms;
    2929using HeuristicLab.Core;
     30using HeuristicLab.Core.Views;
    3031using HeuristicLab.Common;
     32using HeuristicLab.MainForm;
    3133
    3234namespace HeuristicLab.Data {
     
    128130      if(itemsListView.SelectedItems.Count == 1) {
    129131        IItem data = (IItem)itemsListView.SelectedItems[0].Tag;
    130         Control view = (Control)data.CreateView();
     132        Control view = (Control)MainFormManager.CreateDefaultView(data);
    131133        detailsGroupBox.Controls.Add(view);
    132134        view.Dock = DockStyle.Fill;
     
    171173          ItemList.Add((T)chooseItemDialog.Item);
    172174        } catch(Exception ex) {
    173           Auxiliary.ShowErrorMessageBox(ex);
     175          HeuristicLab.Core.Views.Auxiliary.ShowErrorMessageBox(ex);
    174176        }
    175177      }
Note: See TracChangeset for help on using the changeset viewer.