Changeset 10771 for branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.3/PreprocessingDataTableView.cs
- Timestamp:
- 04/23/14 11:42:51 (10 years ago)
- File:
-
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.3/PreprocessingDataTableView.cs
r10761 r10771 31 31 32 32 namespace HeuristicLab.Analysis.Views { 33 [View(" DataTable View")]34 [Content(typeof(DataTable), true)]35 public partial class DataTableView : NamedItemView, IConfigureableView {33 [View("Preprocessing DataTable View")] 34 [Content(typeof(DataTable), false)] 35 public partial class PreprocessingDataTableView : ItemView, IConfigureableView { 36 36 protected List<Series> invisibleSeries; 37 37 protected Dictionary<IObservableList<double>, DataRow> valuesRowsTable; … … 42 42 } 43 43 44 public DataTableView() {44 public PreprocessingDataTableView() { 45 45 InitializeComponent(); 46 46 valuesRowsTable = new Dictionary<IObservableList<double>, DataRow>(); … … 95 95 base.OnContentChanged(); 96 96 invisibleSeries.Clear(); 97 chart.Titles[0].Text = string.Empty;97 //chart.Titles[0].Text = string.Empty; 98 98 chart.ChartAreas[0].AxisX.Title = string.Empty; 99 99 chart.ChartAreas[0].AxisY.Title = string.Empty; … … 101 101 chart.Series.Clear(); 102 102 if (Content != null) { 103 chart.Titles[0].Text = Content.Name;103 //chart.Titles[0].Text = Content.Name; 104 104 AddDataRows(Content.Rows); 105 105 ConfigureChartArea(chart.ChartAreas[0]); … … 281 281 #region Event Handlers 282 282 #region Content Event Handlers 283 protected override void Content_NameChanged(object sender, EventArgs e) {284 if (InvokeRequired)285 Invoke(new EventHandler(Content_NameChanged), sender, e);286 else {287 chart.Titles[0].Text = Content.Name;288 base.Content_NameChanged(sender, e);289 }290 }291 283 private void Content_VisualPropertiesChanged(object sender, EventArgs e) { 292 284 if (InvokeRequired)
Note: See TracChangeset
for help on using the changeset viewer.