private void btnCencelProducts_Click(object sender, EventArgs e)
{
for (int i = 0; i < lbFinalList.Items.Count; i++)
{
if (lbFinalList.GetSelected(i))
{
lbFinalList.Items.Remove(lbFinalList.Items[i]);
}
}
}
thats code of my button i have list box where i want to removie multible item..
when i chose more than one item so only 2 or often 1 item is removing not all the items are removing which was selected...
Regards...
Farhad