Exception 0x80131509 Enable DragDrop on GroupBox c#

0
   GroupBox.AllowDrop = true;

.

private void GroupBox_DragEnter(object sender, DragEventArgs e) {
    e.Effect = DragDropEffects.Move;
}

.

private void GroupBox_DragDrop(object sender, DragEventArgs e) {
    Control c = e.Data.GetData(e.Data.GetFormats()[0]) as Control;
    }

Result:

HResult = 0x80131509 Message = Error during DragDrop registration

What did i wrong?

c#
exception
picturebox
groupbox
asked on Stack Overflow Sep 12, 2018 by Nyes • edited Sep 12, 2018 by Nyes

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0