After a doubt the tiger in the forum (http://forum.msdevstudio.com) of how to move images to an area of design I decided to take a small example to serve as a tutorial, and I finally feel free to go and build a small example of a creator of PERT networks, for whom studied (in informatics) these networks must be family members, is nothing more than a "Program Evaluation and Review Technique" which serves to study and sketch all the chances and possibilities for a program, as comes to a project planner is very useful in time to develop software.
The example that I made is very simple and only introduced the basic concept of this type of farming, using 2 canvas, a toolbar for one for the design, a recycling (to eliminate the unnecessary), an area of stockagem temporarily.
Using the methods drag & drop is possible to create an application and training. Look at the image and the example online with source code available.
They can see the example online here with source code available.
You add fields of image and text, with or without board, with all items included in the area of design are moved or eliminated. To add an item simply dragging them from top to the area of design.
I hope it will be useful, especially for the tiger that was looking for it ![]()
ps Use and abuse, but leave a link in the code here for the blog on open source projects.
Hug.















7 Comments
Very interesting, Mario, congratulations.
very good! I liked it. is to take coordinated xy of each object and their sizes? only for curiosity. hehehe
Cordenadas x and y, of each image, in terms of moving right?
(event.currentTarget the Image). x;
(event.currentTarget the Image). y;
(event.currentTarget the Image). width;
(event.currentTarget the Image). height;
Hug.
Muitoo cool! Now if I wanted to do the same thing but with the following ... detail accompanying the rectangles links the extent that they are busy?
hehehe it is much more complicated than it sounds, because to make the connections they made with pictures and doing so would cause them to me who had run the images (arrows) and snap them or reduce them as far away ...
I told the forum (http://forum.msdevstudio.com) to N4ndo explaining the situation, see:
http://forum.msdevstudio.com/index.php?topic=50.15
Hug.
saludos excuse the link of this available in source code itself is not much molestia enviamelo a mi correo if you infinitely agredecera
¡Gracias de antemano!.
hola, the link of the source code works well here, pero le he sent an email with the source code.
I hope that the help.