In this blog, we learn how to drag drop image file on picturebox in Winforms.
Step 1. Create new windows application in C#.
Step 2. Take picturebox control and place it on form as below.
Step 3. Set AllowDrop property of form as True.
Step 4. Write the following code.
Step 5. Run application.
Step 6. Drag drop image file on form.
![]()
Step 7. The image in picturebox will change as below.