Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/16/11 18:40:52 (12 years ago)
Author:
ascheibe
Message:

#1659 added an empty view for IBenchmark so that "No view available" won't be displayed in HL

File:
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Algorithms.Benchmarks.Views/3.3/IBenchmarkView.cs

    r7006 r7008  
    2222using System.Windows.Forms;
    2323using HeuristicLab.MainForm;
    24 using HeuristicLab.Optimization.Views;
     24using HeuristicLab.MainForm.WindowsForms;
    2525
    2626namespace HeuristicLab.Algorithms.Benchmarks.Views {
    27   [View("Benchmark View")]
    28   [Content(typeof(Benchmark), true)]
    29   public partial class BenchmarkView : AlgorithmView {
    30     public new Benchmark Content {
    31       get { return (Benchmark)base.Content; }
     27  [View("IBenchmark View")]
     28  [Content(typeof(IBenchmark), true)]
     29  public partial class IBenchmarkView : AsynchronousContentView {
     30    public new IBenchmark Content {
     31      get { return (IBenchmark)base.Content; }
    3232      set { base.Content = value; }
    3333    }
    34     public BenchmarkView() {
     34
     35    public IBenchmarkView() {
    3536      InitializeComponent();
    36       tabControl.TabPages.Remove(this.problemTabPage);
    3737    }
     38
    3839  }
    3940}
Note: See TracChangeset for help on using the changeset viewer.