|
Hi, My Window Form ListBox lbxQuyen with SelectionMode MultiExtended. I use the following code to unselect all Item in ListBox,
for(int k=0;k<lbxQuyen.Items.Count;k++) { this.lbxQuyen.SetSelected(k,false); } But this code not run well. When I debug this, lbxQuyen.GetSelected(k) is not false. Could you tell me why? Thanks
|