private void PopulateListFor(ListView listView, StoredItemsList itemsList,
                              IItemsListController itemsListController) {
     if (itemsList == null)
         return;
     foreach (object item in itemsList.Items)
         listView.Items.Add(itemsListController.ListViewItemFor(item));
 }
 public void InitTabControlFor(TabPage itemsListTabPage, ListView itemsListControl,
                               StoredItemsList itemsList, IItemsListController itemsListController) {
     PopulateListFor(itemsListControl, itemsList, itemsListController);
     itemsListTabPage.Tag = itemsListControl;
     itemsListControl.SelectedIndexChanged += new EventHandler(ListItem_Selected);
     itemsListControl.DoubleClick += new EventHandler(ListItem_DoubleClick);
     itemsListControl.KeyUp += new KeyEventHandler(itemsListControl_KeyUp);
     itemsListControl.Tag = itemsList;
 }