That example did show me some new techniques when handling DragDrop operations, so thanks! I ended up going with the object wrapper. It works nicely and actually helped me to find a bit of code that needed refactoring.
Printable View
That example did show me some new techniques when handling DragDrop operations, so thanks! I ended up going with the object wrapper. It works nicely and actually helped me to find a bit of code that needed refactoring.
@TheCPUWizard: it is obvious that sample code and code snippets are not the best solution that can be apply to any problem as a final solution.
in addition that they are disigned for illustrative purpose and demostrating power of the language they also will give information to the programmer in parts that he/ she has not mentioned to it or missed it.
final solution will be a combination of experience, looking to more than one code sample, good data stucture desing (base on application needs), good analyze, asking people and investigating best practices.
without all of them the final solution may works but it is not optimized and the best way of doing things.