Free cookie consent management tool by TermsFeed Policy Generator

Changeset 4720 for trunk


Ignore:
Timestamp:
11/05/10 12:53:47 (14 years ago)
Author:
mkommend
Message:

Improved StringConvertibleMatrixView to show statistics of selected cells per default (ticket #1135).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Data.Views/3.3/StringConvertibleMatrixView.cs

    r4717 r4720  
    7373      InitializeComponent();
    7474      ShowRowsAndColumnsTextBox = true;
    75       ShowStatisticalInformation = false;
     75      ShowStatisticalInformation = true;
    7676      errorProvider.SetIconAlignment(rowsTextBox, ErrorIconAlignment.MiddleLeft);
    7777      errorProvider.SetIconPadding(rowsTextBox, 2);
     
    536536        if (selectedValues.Count > 1) {
    537537          StringBuilder labelText = new StringBuilder();
     538          labelText.Append("Count: " + selectedValues.Count + "    ");
     539          labelText.Append("Sum: " + selectedValues.Sum() + "    ");
     540          labelText.Append("Min: " + selectedValues.Min() + "    ");
     541          labelText.Append("Max: " + selectedValues.Max() + "    ");
    538542          labelText.Append("Average: " + selectedValues.Average() + "    ");
    539           labelText.Append("StdDev: " + selectedValues.StandardDeviation() + "    ");
    540           labelText.Append("Sum: " + selectedValues.Sum() + "    ");
    541           labelText.Append("Count: " + selectedValues.Count + "    ");
     543          labelText.Append("Standard Deviation: " + selectedValues.StandardDeviation() + "    ");
     544
    542545          toolStripStatusLabel.Text = labelText.ToString();
    543546        }
Note: See TracChangeset for help on using the changeset viewer.