Click here to Skip to main content
16,016,076 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
Im trying to create a drag and drop module which can be used to build an Image.
EX: Using a triangle and rectangles to create a House.

I have created the drag and drop module but I cant make them fix with each other.

It will be a great help if someone can give me an idea or a sample ode for this problem.
Please help me in this.


I'll explain the functionality a little bit, but forgive my english if any mistakes since it's not my native language.
The user is given a set of shapes and a question like "CREATE A HOUSE" so he should be able to drag the shapes that is
given and and build the house.



Thanks in Advance.
Posted
Updated 23-May-11 0:23am
v4

Your post is way too generic.
I can not figure out your problem.
From my experience it sounds to be a design time problem/error.
If you developed your custom controls in C# .NET 2.0 be careful with the Draw method, it might throw exceptions when it gets executed in design time.
 
Share this answer
 
Comments
Thilina C 21-May-11 22:45pm    
I'll explain the functionality a little bit, but forgive my english if any mistakes since it's not my native language.

The user is given a set of shapes and a question like "CREATE A HOUSE" so he should be able to drag the shapes that is given and and build the house.

Hope it's clear now.

Thanks.
you don't know that the image doesn't deal with by this method.
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900