/// <summary>
 /// Inverts the selection for the listBox Items.
 /// </summary>
 /// <param name="listBox"></param>
 protected virtual void ToogleItems(ListBoxBase listBox)
 {
     if (listBox.GetSelectedIndices().Length == 0)
     {
         listBox.ToogleItems();
     }
 }