How to identify the tag of dropped control in a panel?

Hello everyone ,

I'm implementing Drag&Drop in C# ,

I allow the user to drag a "pictureBox" and drop it in a "panel" and it works really good .

but in my program i need to identify the tag of that dropped pictureBox . how can i get the tag from the panel ? in which method i can find the tag of the dropped pictureBox , is it dragDrop() , dragEnter() , or other than these !!

please help , I have a deadline ,

Regards ,,

by najlaKSA via /r/csharp

Leave a Reply