Changeset 10320
- Timestamp:
- 01/08/14 17:26:32 (11 years ago)
- Location:
- branches/DataPreprocessing
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DataPreprocessing/HeuristicLab 3.3.sln
r10095 r10320 1870 1870 HideSolutionNode = FALSE 1871 1871 EndGlobalSection 1872 GlobalSection(Performance) = preSolution 1873 HasPerformanceSessions = true 1874 EndGlobalSection 1872 1875 EndGlobal -
branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3/Views/StatisticsView.cs
r10316 r10320 1 using System; 2 using System.Collections.Generic; 3 using System.ComponentModel; 4 using System.Drawing; 5 using System.Data; 6 using System.Linq; 7 using System.Text; 8 using System.Windows.Forms; 1 using System.Windows.Forms; 9 2 using HeuristicLab.Core.Views; 10 3 using HeuristicLab.MainForm; 11 4 using HeuristicLab.MainForm.WindowsForms; 12 using HeuristicLab.Problems.DataAnalysis;13 using HeuristicLab.Data.Views;14 5 15 6 namespace HeuristicLab.DataPreprocessing { … … 26 17 public StatisticsView() { 27 18 InitializeComponent(); 28 var logic = Content.StatisticsLogic;29 txtRows.Text = logic.GetRowCount().ToString();30 txtColumns.Text = logic.GetColumnCount().ToString();31 txtNumericColumns.Text = logic.GetNumericColumnCount().ToString();32 txtNominalColumns.Text = logic.GetNominalColumnCount().ToString();33 19 } 34 20 35 21 protected override void OnContentChanged() { 36 22 base.OnContentChanged(); 23 if (Content != null) { 24 var logic = Content.StatisticsLogic; 25 txtRows.Text = logic.GetRowCount().ToString(); 26 txtColumns.Text = logic.GetColumnCount().ToString(); 27 txtNumericColumns.Text = logic.GetNumericColumnCount().ToString(); 28 txtNominalColumns.Text = logic.GetNominalColumnCount().ToString(); 29 txtMissingValuesTotal.Text = logic.GetMissingValueCount().ToString(); 30 } 37 31 } 38 32 }
Note: See TracChangeset
for help on using the changeset viewer.