Does anybody know how to create a design surface in C#, so I can drag different objects onto it, and connect them. (Like you can in Visio) ?
-
-
Hi,
I would start by taking a look at the Netron Project. It probably does exactly what you're after, but I have never done more than play with it.
Herbie
-
The DSL tools project here is pretty decent to work with, although it currently only works with Beta 2. It may be a bit overkill for what you're trying to do, but as you say like Visio, then this is a great design environment for similar functions.
-
The Netron project looks nice, althought quiet a bit complicated to get into. (It has alot of features that I don't need)
I was hoping for something really simple
-
Here is a node and connector sample written in VB.net, and a toolbox drag, drop and move sample written in C#.
Here is the node and connector source code. It includes a state diagram. Note that it could be simplified; the three "Over" states could be combined.
Here is the drag/drop sample source code. It is in C#, and uses a tiny state machine for the object movement.
Both samples use VG.net vector graphics. The run-time is free.
-
Frank,
Any demo of VB.net recording/playback of animations? -
You mean like a movie? We don't have any demo like that. Some people have written declarative animation objects for their own projects, and we will be adding some in the future. It is not so difficult. VG.net is more for real-time data visualization than movies.
-
For example, a robot arm simulation uses a custom animation class for the arm movement. The source code for that is not published yet.


Thread Closed
This thread is kinda stale and has been closed but if you'd like to continue the conversation, please create a new thread in our Forums,
or Contact Us and let us know.