Find the index number of a newly added element within a panel, using the IndexOf method