Beispiel #1
0
 private void rb_permutation_CheckedChanged(object sender, EventArgs e)
 {
     if (rb_permutation.Checked && !(counter is Permutation))
     {
         counter = new Permutation();
     }
 }
Beispiel #2
0
 private void rb_combinations_CheckedChanged(object sender, EventArgs e)
 {
     if (rb_combinations.Checked && !(counter is Combination))
     {
         counter = new Combination();
     }
 }
Beispiel #3
0
 public Form1()
 {
     InitializeComponent();
     counter = new Permutation();
 }