Free cookie consent management tool by TermsFeed Policy Generator

source: trunk/sources/HeuristicLab.Problems.ArtificialAnt.Views/3.3/ArtificialAntProblemView.cs @ 3239

Last change on this file since 3239 was 3239, checked in by gkronber, 14 years ago

Extracted view for artificial ant problem into a separate plugin/project. #952 (Artificial Ant Problem for 3.3)

File size: 1.1 KB
Line 
1using System;
2using System.Collections.Generic;
3using System.ComponentModel;
4using System.Data;
5using System.Drawing;
6using System.Text;
7using System.Windows.Forms;
8using HeuristicLab.Optimization.Views;
9using HeuristicLab.MainForm;
10
11namespace HeuristicLab.Problems.ArtificialAnt.Views {
12  [View("ArtificialAntProblem View")]
13  [Content(typeof(ArtificialAntProblem), true)]
14  public partial class ArtificialAntProblemView : ProblemView {
15    public new ArtificialAntProblem Content {
16      get { return (ArtificialAntProblem)base.Content; }
17      set { base.Content = value; }
18    }
19
20    /// <summary>
21    /// Initializes a new instance of <see cref="ArtificialAntProblemView"/>.
22    /// </summary>
23    public ArtificialAntProblemView() {
24      InitializeComponent();
25    }
26    /// <summary>
27    /// Intializes a new instance of <see cref="ArtificialAntProblemView"/> with the given <paramref name="item"/>.
28    /// </summary>
29    /// <param name="item">The item that should be displayed.</param>
30    public ArtificialAntProblemView(ArtificialAntProblem content)
31      : this() {
32      Content = content;
33    }
34  }
35}
Note: See TracBrowser for help on using the repository browser.