Example #1
0
        private void btnScramble_Click(object sender, RoutedEventArgs e)
        {
            Generator = new Shuffle(Math.Sqrt(3) / 3, 6, 18, Convert.ToInt32(tb_amounttests.Text));
			var frequencies = Generator.FrequenciesTest();
			lb_Scramble.ItemsSource = frequencies;
			tb_scrhi.Text = Generator.CriterionX(frequencies).ToString();
        }
Example #2
0
        private void btnAnalytic_Click(object sender, RoutedEventArgs e)
        {
            Generator = new Analytic(18, 17, 8, 1, Convert.ToInt32(tb_amounttests.Text));
           	var frequencies = Generator.FrequenciesTest();
			lB_Analytic.ItemsSource = frequencies;
			tb_anhi.Text = Generator.CriterionX(frequencies).ToString();
        }