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