c# - Multiple Drag and Drop actions on one control -


I have a windows form that has two user controls. There are two list views in a user control. There is a grid in the other user control.

Drag two list views in first user control and leave their contents between each other.

The grid user control is set to the dragview in the list view usercontrol.

The problem is that drag drop events within listview usercontrol always takes precedence over dragdrops between two usercontrols.

So if I pull the listview from user control over the usercontrol, then this list will execute the internal dragrap event of the visual control.

In other words, it sets a fire on this incident

lv_groupActivites_DragDrop

Scheduling Booking instead of Reservations 1_DragDrop

What Does Drop Drop Is it also to specify that the event should be removed?

You are dragging the grid into a user control and on another user control or on any other user control Trying to drop on specific list views?

If you want to drop anywhere on the other user control, I think you will need to setup an approved event handler on that user control to answer. If you want to drop to a particular list view that also accepts drag events from the other list view, then additional events will need to be done in your event handler on that list view to find out how the drag was started. was.


Comments

Popular posts from this blog

c++ - Linux and clipboard -

What is expire header and how to achive them in ASP.NET and PHP? -

sql server - How can I determine which of my SQL 2005 statistics are unused? -