Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/23/09 11:08:34 (14 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.Operators.Programmable/3.3/ProgrammableOperatorView.cs

    r1530 r2520  
    2929using HeuristicLab.Core;
    3030using HeuristicLab.Operators;
     31using HeuristicLab.Core.Views;
     32using HeuristicLab.MainForm;
    3133
    3234namespace HeuristicLab.Operators.Programmable {
     35  [Content(typeof(ProgrammableOperator), true)]
    3336  public partial class ProgrammableOperatorView : ViewBase {
    3437    public ProgrammableOperator ProgrammableOperator {
     
    102105      }
    103106      catch (Exception ex) {
    104         Auxiliary.ShowErrorMessageBox(ex);
     107        HeuristicLab.Core.Views.Auxiliary.ShowErrorMessageBox(ex);
    105108      }
    106109    }
     
    109112      if (dialog.ShowDialog(this) == DialogResult.OK) {
    110113        if (ProgrammableOperator.GetVariableInfo(dialog.VariableInfo.FormalName) != null)
    111           Auxiliary.ShowErrorMessageBox("A variable info with the same formal name already exists.");
     114          HeuristicLab.Core.Views.Auxiliary.ShowErrorMessageBox("A variable info with the same formal name already exists.");
    112115        else
    113116          ProgrammableOperator.AddVariableInfo(dialog.VariableInfo);
Note: See TracChangeset for help on using the changeset viewer.