private void button2_Click(object sender, EventArgs e) { List <double> valuesX = LabToolz.ScanFromTextBox(XtextBox); X = new double[valuesX.Count()]; X = valuesX.ToArray(); CentrMomtextBox.Text = Statistic.GetKCentralPoint(X, Convert.ToInt32(numericUpDown2.Value)).ToString(); StartMomtextBox.Text = Statistic.GetKStartPoint(X, Convert.ToInt32(numericUpDown1.Value)).ToString(); }
private void button1_Click(object sender, EventArgs e) { List <double> valuesX = LabToolz.ScanFromTextBox(XtextBox); X = new double[valuesX.Count()]; X = valuesX.ToArray(); BuildAllCharts(); Statistic.FillDSRGrid(X, Grid); SetAllData(); }