Beispiel #1
0
 private void __RollRules_Click(object sender, EventArgs e)
 {
     __IncludeHTML.Checked = true;
     string[] rules = Challenges.BooleanRestrictions((int)__NumberOfRules.Value);
     __Rules.Text = "";
     for (int i = 0; i < rules.Length; ++i)
     {
         if (i > 0)
         {
             __Rules.Text += Environment.NewLine;
         }
         __Rules.Text += rules[i];
     }
     refreshHTML?.Invoke();
 }