i am using winform and C#,i am adding items in the list box
5<-----focus on first element
8
9
99
100
Default focus coming on first element(like 5). But I am trying like that if i am adding new element in the list box like 77 then focus will be on 77
5
8
9
77 <---here i m trying the focus
99
100
i tried this but this is not working
listBox1.SelectedIndex = listBox1.Items.Count - 1;
listBox1.Focus();
thanks