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