Example #1
0
 private void checkBox2_CheckedChanged(object sender, EventArgs e)
 {
     for (int i = 0; i < AppliedSettingsListBox.Items.Count; i++)
     {
         AppliedSettingsListBox.SetItemChecked(i, appliedAllCheckbox.Checked);
     }
 }
Example #2
0
 private void ApplySettings_Click(object sender, EventArgs e)
 {
     this.Enabled = false;
     foreach (Settings setting in toApplyListBox.CheckedItems)
     {
         comparison.DoMapping(setting);
         if (setting.phase == Phase.INIT)
         {
             AppliedSettingsListBox.Items.Clear();
         }
         AppliedSettingsListBox.Items.Add(setting);
     }
     AppliedSettingsListBox.Refresh();
     AfterGuess();
 }