You need to implement the DragEnter event and set the Effect property of the DragEventArgs. The DragEnter event is what allows things to be dropped into a control. After that the DragDrop event will fire when the mouse button is released.
You need to implement the DragEnter event and set the Effect property of the DragEventArgs. The DragEnter event is what allows things to be dropped into a control. After that the DragDrop event will fire when the mouse button is released.
Here is a version that will allow objects to be dropped into the a ListView: private void Form1_Load(object sender, EventArgs e) { listView1. AllowDrop = true; listView1. DragDrop += new DragEventHandler(listView1_DragDrop); listView1.
DragEnter += new DragEventHandler(listView1_DragEnter); } void listView1_DragEnter(object sender, DragEventArgs e) { e. Effect = DragDropEffects. Copy; } void listView1_DragDrop(object sender, DragEventArgs e) { listView1.Items.
Add(e.Data.ToString()); } No doubt your sample code was taken from : http://msdn.microsoft.com/en-us/library/system.windows.forms.control.allowdrop(v=vs.71).aspx.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.