- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
private int FindIndexOfItemWithValue(object value)
{
for (int i = 0; i < base.Items.Count; i++)
{
object item = base.Items[i];
if (InternalUtils.AreValuesEqual(this.SelectedValue, this.GetSelectedValue(item)))
{
return i;
}
}
return -1;
}