Example #1
0
 private void Slot_view_MouseUp(object sender, MouseEventArgs e)
 {
     if (e.Button == MouseButton.Left)
     {
         var view = (InventorySlotView)sender;
         controller.OnSlotClick(view.Slot);
     }
 }