private static void SetSelected(ListBox listBox, IHaveSelectedItems vm)
 {
     if (vm != null)
     {
         vm.SelectedItems = listBox.SelectedItems;
     }
 }
 private static void SetSelected(ListBox listBox, IHaveSelectedItems vm)
 {
     if (vm != null)
         vm.SelectedItems = listBox.SelectedItems;
 }