M
MAF
I have created my own user control that is a simple control with a menu and
a list view. I want to invoke a drag and drop. here is where I run into a
problem the event never fires on the form.
if my control is named lvwVariable within my user control what do I need to
add in order to initiate the dragevent?
Here is a sample of what I have but I am not sure what parameters I am
suppose to use with the RaiseDragEvent
private void lvwVariable_ItemDrag(object sender, ItemDragEventArgs e)
{
this.RaiseDragEvent(sender, e.Item)???
}
a list view. I want to invoke a drag and drop. here is where I run into a
problem the event never fires on the form.
if my control is named lvwVariable within my user control what do I need to
add in order to initiate the dragevent?
Here is a sample of what I have but I am not sure what parameters I am
suppose to use with the RaiseDragEvent
private void lvwVariable_ItemDrag(object sender, ItemDragEventArgs e)
{
this.RaiseDragEvent(sender, e.Item)???
}