Exemplo n.º 1
0
 private void Icons_ItemDrag(object sender, ItemDragEventArgs e)
 {   // The MemoryStream containing the image must cycle through the clipboard to Drag & Drop correctly.
     // Mysteriously, the direct approach loses the alpha channel (background transparency) or will not drop.
     CopyPicture_Click(sender, e);
     Icons.DoDragDrop(Clipboard.GetDataObject(), DragDropEffects.All);
 }