Search the web
Sign In
New User? Sign Up
TestFirstUserInterfaces
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want to share photos of your group with the world? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Drag & Drop...should I bother?   Message List  
Reply | Forward Message #995 of 1051 |
I'm in rather a new position: I've actually gotten a colleague
enthused about TDD, and even NMock! He's an engineer, w/o much
experience writing GUIs, and now he's looking to me for advice about
the MVP pattern.

So much for the preamble. We have a requirement for (relatively
simple) drag-and-drop, simply from one control on the app to another.
How should I think of this in the context of MVP? As you may remember,
the control from which an item is dragged has to handle the ItemDrag
event, and the target control has to handle DragDrop. Now, I could
certainly have the presenter provide the object passed to DoDragDrop()
by the source, and the same or another presenter actually deal with
it, once the handler for DragDrop has pulled it out of
DragEventArgs.GetData(). Is this a case where, as with data binding, I
basically entrust the mechanics to .NET, and simply verify the results?




Tue Jul 31, 2007 7:41 pm

aanassar
Offline Offline
Send Email Send Email

Forward
Message #995 of 1051 |
Expand Messages Author Sort by Date

I'm in rather a new position: I've actually gotten a colleague enthused about TDD, and even NMock! He's an engineer, w/o much experience writing GUIs, and now...
Anthony Albert Nassar
aanassar
Offline Send Email
Jul 31, 2007
7:42 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help