How do you select an item in a listbox using code?

I have an app that adds items to the listbox and I need to select that item.

Thanks!