Hello everyone,
This is my first post at this forum. I am searching my question that How to add a control like picturebox programatically and Allow user to move it with mouse? on google but cant find anything. Thats why I am here.
In my application user creates a picturebox and a label at runtime by selecting a file from drag drop. User can create as many files he wants. But the problem is that I dont know that how to move both picturebox and label to change their location in a flowlayoutpanel which contains these controls with mouse.
I know that how to add a control like picturebox programatically but dont know how to move it.
I add picturebox by:
dim picturebox as new picturebox
flowlayoutpanel1.controls.add(picturebox)
Please Reply Me As Soon As Possible.
Abhishek Pratap Singh
This is my first post at this forum. I am searching my question that How to add a control like picturebox programatically and Allow user to move it with mouse? on google but cant find anything. Thats why I am here.
In my application user creates a picturebox and a label at runtime by selecting a file from drag drop. User can create as many files he wants. But the problem is that I dont know that how to move both picturebox and label to change their location in a flowlayoutpanel which contains these controls with mouse.
I know that how to add a control like picturebox programatically but dont know how to move it.
I add picturebox by:
dim picturebox as new picturebox
flowlayoutpanel1.controls.add(picturebox)
Please Reply Me As Soon As Possible.
Abhishek Pratap Singh