End Google Ads 201810 - BS.net 01 -->
I am trying to drag and drop from a picturebox to a desktop.. I am able to drag files from the desktop or folders to the picturebox but not the other way around.
this is what I have:
private void pictureBoxPicture_MouseDown(object sender, MouseEventArgs e)
{
if (e.Button == MouseButtons.Left)
{
DataObject fileDragData = new DataObject();
fileDragData.SetData(DataFormats.FileDrop, pictureBoxPicture.Image);
DoDragDrop(fileDragData, DragDropEffects.All);
}
}
I can't seem to find much on google that I either understand or it works..
مواقع النشر (المفضلة)