Dim lb As WinForm.ListBox = e.Form.controls("ListBox1")Dim i As Integer = lb.SelectedIndexlb.items.removeat(i)