Beispiel #1
0
 private int GetSlot(PictureBox sender) => SlotPictureBoxes.IndexOf(sender);
Beispiel #2
0
 private int GetSlot(PictureBox sender) => SlotPictureBoxes.IndexOf(WinFormsUtil.GetUnderlyingControl(sender) as PictureBox);