2

I'm trying to make a new CAD program from scratch. The GUI is mostly easy to make in C#; it's just dragging-and-dropping things like command buttons and writing their associated code.

However I want the user of my CAD to be able to drag-and-drop icons from a toolbar onto a drawing pane. I also want them to be able to resize those icons, draw connections between them, etc. And I don't know how to do this part.

After doing a good bit of research, I'm still lost on what approach I should take for it. It's basically a 2D flowsheet, so do I need hardware acceleration? Do I make C# bitmaps and just print those after modifications on mouse events? Etc.

What should I study to learn how to do this?

Thank you!

1 Answers1

2

You probably need to work with WPF. You might find these articles useful

These were the ones that help me while I was going to do something similar. Hope they will be useful to you.

Perception
  • 79,279
  • 19
  • 185
  • 195
Iman
  • 21
  • 2