开发者

Model Object C# [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.

We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.

Closed 4 years ago.

Improve this question

i am working in a compnay for training, and they asked me to do a modeling application. to be clear, i want to code using C# an application that do as same as the "logic works" or "Visio". 开发者_JS百科why dont they use those? because they want to use different items, plus they want it to be stored in a database not as a file with extention.

so, i searched but i couldn't find any ready API that i can use to make it easier for me. you know its hard to do it from scratch. i just want the area to be ready, and i can add items the way i like, so i can append them to the drawing area, then link them. at the end the user will click on "Calculate". it will show a statistical and analytical information that will help them in planning!!

so any one here has any idea about any library that could help me in this situation, am coding using C#

thanks


I agree with nobugz... it sounds like quite a challenging project to undertake, and you are not going to get the functionality and flexibility that you will get from an app like Visio without some serious manpower and effort. So I would try and go the interop route.

BUT if that isn't an option, then you are definitely going to want something that utilizes WPF, as it really simplifies the whole presentation aspect.

There is a project that I used from "Code Project" as a base startup called Draw Tools which was a great start as it shows the basics, having a canvas, and dragging objects and shapes onto the canvas - all in C#, and really gave us a jump start.

Good Luck!


Users have very expectations for the user interface for such a program. It both needs to look good and be flexible. Doing this yourself isn't advisable, it is a major work item and a never-ending maintenance headache. Before you dismiss a commercial solution, be sure to take a look at their automation interface. The one for Visio is in the Microsoft.Office.Interop.Visio namespace. Storing data to a dbase is certainly possible with it.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜