Beispiel #1
0
        private void updatePanel()
        {
            StatCalc stats = new StatCalc(Decimal.ToInt32(numericUpDown1.Value));

            textBox1.Visible  = true;
            textBox1.Text     = stats.toString();
            labelMax.Text     = stats.getMax();
            labelMin.Text     = stats.getMin();
            labelMean.Text    = stats.getAve();
            labelMedian.Text  = stats.getMedian();
            labelStanDev.Text = stats.getStanDev();
        }
Beispiel #2
0
        private void button1_Click(object sender, EventArgs e)
        {
            StatCalc stats = new StatCalc();

            label5.Text = stats.getgMean();
        }