private void UserControl_MouseUp(object sender, MouseButtonEventArgs e)
 {
     if (Keyboard.Modifiers.HasFlag(ModifierKeys.Control) && this.DataContext is InventoryItem ii)
     {
         InventoryTab.RunItemsRoll20Integration(ii);
         e.Handled = true;
     }
 }
        private void RunItemR20(object sender, RoutedEventArgs e)
        {
            InventoryItem ii = sender as InventoryItem;

            if (sender is Button && this.Inventory.SelectedItems != null && this.Inventory.SelectedItems.Count > 0)
            {
                ii = (InventoryItem)this.Inventory.SelectedItems[0];
            }

            if (ii == null || !R20WSServer.Connected)
            {
                return;
            }

            InventoryTab.RunItemsRoll20Integration(ii);
        }