Example #1
0
 private void CBAddCheckbox_CheckedChanged(object sender, EventArgs e)
 {
     if (CBAddCheckbox.Checked)
     {
         UncheckOtherCheckboxes(sender);
         CheckBox control = new CheckBox(graphicsControl1, graphicsControl1.MainDialog, data);
         graphicsControl1.Create(control);
     }
     else
     {
         CancelIfNoneChecked();
     }
 }
 private void CBAddCheckbox_CheckedChanged(object sender, EventArgs e)
 {
     if (CBAddCheckbox.Checked)
     {
         UncheckOtherCheckboxes(sender);
         CheckBox control = new CheckBox(graphicsControl1, graphicsControl1.MainDialog, data);
         graphicsControl1.Create(control);
     }
     else
         CancelIfNoneChecked();
 }