private static listChangeText_ ( |
||
list | ||
idx | int | |
value | String | |
return | void |
private static void listChangeText_(ComboBox list, int idx, String value)
{
if (idx < list.Items.Count && idx > -1)
{
object item = list.Items[idx];
if (item is ListValueWithId)
{
((ListValueWithId)item).Text = value;
}
else
{
list.Items[idx] = value;
}
}
}
private static int listGetIndexFromItemData_(ComboBox list, int valueItemData)