grace

grace

  • NA
  • 2
  • 0

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

Jan 18 2007 7:33 AM
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;
}