private bool IsSelectedInCbNoticiaAut(long IDTipoNoticiaAut)
{
if (((GISADataset.TipoNoticiaAutRow)cbNoticiaAut.SelectedItem).ID == IDTipoNoticiaAut)
return true;
if (((GISADataset.TipoNoticiaAutRow)cbNoticiaAut.SelectedItem).ID == -1)
{
foreach (GISADataset.TipoNoticiaAutRow tna in cbNoticiaAut.Items)
{
if (tna.ID == IDTipoNoticiaAut)
return true;
}
}
return false;
}