Free cookie consent management tool by TermsFeed Policy Generator

source: branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.3/PreprocessingCheckedItemListView.cs @ 10668

Last change on this file since 10668 was 10628, checked in by aesterer, 11 years ago

Refactored LineChartLogic and added CheckedItemListView to LineChartView

File size: 1.2 KB
Line 
1using System;
2using System.Collections.Generic;
3using System.ComponentModel;
4using System.Drawing;
5using System.Data;
6using System.Linq;
7using System.Text;
8using System.Windows.Forms;
9using HeuristicLab.Core.Views;
10using HeuristicLab.Data;
11using HeuristicLab.MainForm;
12using HeuristicLab.Core;
13
14namespace HeuristicLab.DataPreprocessing.Views {
15
16  [View("PreprocessingCheckedItemList View")]
17  [Content(typeof(CheckedItemList<StringValue>), true)]
18  [Content(typeof(ICheckedItemList<StringValue>), true)]
19  public partial class PreprocessingCheckedItemListView : CheckedItemListView<StringValue> {
20
21    public new ICheckedItemList<StringValue> Content {
22      get { return (ICheckedItemList<StringValue>)base.Content; }
23      set { base.Content = value; }
24    }
25
26    public PreprocessingCheckedItemListView()
27      : base() {
28      InitializeComponent();
29      DisableDetails();     
30    }
31
32    private void DisableDetails() {
33        splitContainer.Panel2Collapsed = true;
34        viewHost.Content = null;
35        showDetailsCheckBox.Visible = false;
36       
37    }
38
39    protected override void OnContentChanged() {
40      base.OnContentChanged();
41    }
42  }
43
44
45}
Note: See TracBrowser for help on using the repository browser.