There ya goPHP Code:
public void RemoveAt(int Remove,ListBox ListBox)
{
Invoke(new MethodInvoker(delegate { ListBox.Items.Remove(Remove); }));
}
That's a little snippet i wrote because I needed it.
You can also learn how to invoke controls fairly easily from the code.
Results 1 to 1 of 1
- 09 Jan. 2011 06:54pm #1
[C#] Listbox.RemoveAt (Thread friendly)