private void buttonApply_Click(object sender, EventArgs e)
{
// set all variables
appliedSettings[0] = checkBoxOwner.Checked;
appliedSettings[1] = checkBoxStatus.Checked;
appliedSettings[2] = checkBoxGender.Checked;
appliedSettings[3] = checkBoxBred.Checked;
appliedSettings[4] = checkBoxMother.Checked;
appliedSettings[5] = checkBoxFather.Checked;
appliedSettings[6] = checkBoxNote.Checked;
appliedSettings[7] = checkBoxColor1.Checked;
appliedSettings[8] = checkBoxColor2.Checked;
appliedSettings[9] = checkBoxColor3.Checked;
appliedSettings[10] = checkBoxColor4.Checked;
appliedSettings[11] = checkBoxColor5.Checked;
appliedSettings[12] = checkBoxColor6.Checked;
c.owner = textBoxOwner.Text;
c.isBred = checkBoxIsBred.Checked;
if (checkBoxMother.Enabled && checkBoxMother.Checked)
c.motherGuid = (parentComboBoxMother.SelectedParent == null ? Guid.Empty : parentComboBoxMother.SelectedParent.guid);
if (checkBoxFather.Enabled && checkBoxFather.Checked)
c.fatherGuid = (parentComboBoxFather.SelectedParent == null ? Guid.Empty : parentComboBoxFather.SelectedParent.guid);
}