0
Answer

How can i drag and drop a label/textfield in a panel?

Photo of grace

grace

18y
2.4k
1
how can i drag and drop a component in a panel? do i need the pointtoclient? will it work on a FlowLayoutPanel?

i dont know what to write in the DragDrop event for the panel. please help!

here's the code:

static void newPanel_DragDrop(object sender, DragEventArgs e)

{
}

static void newPanel_DragEnter(object sender, DragEventArgs e)
{

e.Effect = DragDropEffects.Move;
}