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