private void findDef()
{
string s = null;
if (defList.ContainsCI(comboBoxCopyDef.Text.ToString()))
{
s = defList.Find(x => x.ToString().ContainsCI(comboBoxCopyDef.Text.ToString()));
if (s != null && s != comboBoxCopyDef.Text)
{
comboBoxCopyDef.Text = s;
}
comboBoxCopyDef.SelectedValue = s;
}
updateXml();
}