Extracting the listbox to a custom control