Oops! Gal, I wanted to select only one item in the middle of two listbox, imagining the listbox to be a radiobutton, if I select an item in one, it is no longer selected in the other. I tried it like this:
private void listBoxQuestoesObjetivas_SelectedIndexChanged(object sender, EventArgs e)
{
listBoxQuestoesSubjetivas.ClearSelected();
}
private void listBoxQuestoesSubjetivas_SelectedIndexChanged(object sender, EventArgs e)
{
listBoxQuestoesObjetivas.ClearSelected();
}
The problem is that when I click on one, unselect on both, this is very strange '-' Remembering that I'm using Microsoft.Net Framework 2.0