Click here to Skip to main content
15,915,509 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
AnswerRe: Is there a standard deviation function in .Net? Pin
rwestgraham1-May-05 10:44
rwestgraham1-May-05 10:44 
GeneralRe: Is there a standard deviation function in .Net? Pin
nzmike1-May-05 13:23
nzmike1-May-05 13:23 
GeneralErrors trying to debug smart device application Pin
hammo29-Apr-05 19:22
hammo29-Apr-05 19:22 
GeneralRe: Errors trying to debug smart device application Pin
Dave Kreskowiak30-Apr-05 4:19
mveDave Kreskowiak30-Apr-05 4:19 
QuestionHow can I obtain 'Source' object in drag&drop event of the WindowsForms? Pin
Member 191344029-Apr-05 3:14
Member 191344029-Apr-05 3:14 
AnswerRe: How can I obtain 'Source' object in drag&drop event of the WindowsForms? Pin
Claudio Grazioli2-May-05 21:07
Claudio Grazioli2-May-05 21:07 
GeneralRe: How can I obtain 'Source' object in drag&drop event of the WindowsForms? Pin
Member 19134402-May-05 23:31
Member 19134402-May-05 23:31 
GeneralRe: How can I obtain 'Source' object in drag&drop event of the WindowsForms? Pin
Claudio Grazioli3-May-05 0:17
Claudio Grazioli3-May-05 0:17 
Well I'm not the d'n'd specialist. But as I see it, I would do the following:

In the OnItemDrag event of list1 you call DoDragDrop(). As the data parameter of DoDragDrop() you set the ListItem that the user is dragging.

In the OnDragDrop method of List2 you have the sender object as well as DragEventArgs.

Sender is List2. DragEventArgs has a property Data with a method GetData() to get the object you passed in the DoDragDrop() method as Data parameter.

And I think that is what you need. Because that is your ListItem the user is dragging from List1 to List2 and that you have to add to List2 now. What do you need a reference to List1 for in this situation, it should be sufficient to have the reference to your ListItem.

Claudio
Claudio's Website
Hommingberger Gepardenforelle
Generalcoloring by using richTextBox Pin
NOTEPAK28-Apr-05 15:33
NOTEPAK28-Apr-05 15:33 
GeneralRe: coloring by using richTextBox [EDITED] Pin
Dave Kreskowiak29-Apr-05 13:31
mveDave Kreskowiak29-Apr-05 13:31 
Generalzip filter to use with compact framework and web services Pin
eng_torres28-Apr-05 4:09
eng_torres28-Apr-05 4:09 
Generalinstalling sqlserver by merge module Pin
sianatia27-Apr-05 19:13
sianatia27-Apr-05 19:13 
GeneralRe: installing sqlserver by merge module Pin
rwestgraham1-May-05 11:35
rwestgraham1-May-05 11:35 
GeneralRe: installing sqlserver by merge module Pin
sianatia1-May-05 18:39
sianatia1-May-05 18:39 
GeneralRe: installing sqlserver by merge module Pin
rwestgraham2-May-05 13:41
rwestgraham2-May-05 13:41 
GeneralNetMessageNameEnum Pin
Member 156633627-Apr-05 6:59
Member 156633627-Apr-05 6:59 
GeneralWireless Connection Pin
gundamhamtaro26-Apr-05 23:58
gundamhamtaro26-Apr-05 23:58 
GeneralRe: Wireless Connection Pin
Richard Jones5-May-05 9:37
Richard Jones5-May-05 9:37 
GeneralCAS - add Code Group Pin
devvvy26-Apr-05 17:04
devvvy26-Apr-05 17:04 
GeneralOpacity problem {WindowsForms] Pin
Member 191344026-Apr-05 3:44
Member 191344026-Apr-05 3:44 
GeneralRe: Opacity problem {WindowsForms] Pin
Dave Kreskowiak26-Apr-05 6:38
mveDave Kreskowiak26-Apr-05 6:38 
GeneralRe: Opacity problem {WindowsForms] Pin
Member 191344027-Apr-05 1:07
Member 191344027-Apr-05 1:07 
GeneralNeed help finding an article on hosting a windows app within a .NET app Pin
Rick Jameson26-Apr-05 1:58
Rick Jameson26-Apr-05 1:58 
GeneralRe: Need help finding an article on hosting a windows app within a .NET app Pin
Rick Jameson26-Apr-05 2:08
Rick Jameson26-Apr-05 2:08 
Generalclearing cookies Pin
mikeinertia26-Apr-05 1:18
mikeinertia26-Apr-05 1:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.