模型对象 C#

发布于 2024-08-16 19:51:47 字数 1539 浏览 10 评论 0原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

旧瑾黎汐 2024-08-23 19:51:47

我同意 nobugz 的观点...这听起来是一个相当具有挑战性的项目,如果没有大量的人力和精力,您将无法获得 Visio 这样的应用程序所提供的功能和灵活性。所以我会尝试走互操作路线。

但如果这不是一个选择,那么您肯定会想要使用 WPF 的东西,因为它确实简化了整个演示方面。

我从“代码项目”中使用了一个名为 绘图工具< /a> 这是一个很好的开始,因为它展示了基础知识、画布以及将对象和形状拖到画布上 - 全部都是用 C# 编写的,确实给了我们一个快速的开始。

祝你好运!

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!

给不了的爱 2024-08-23 19:51:47

用户对此类程序的用户界面抱有非常的期望。它既需要美观又灵活。不建议您自己这样做,这是一项主要的工作项目,也是一个永无休止的维护难题。在您放弃商业解决方案之前,请务必查看他们的自动化界面。 Visio 的一个位于 Microsoft.Office.Interop.Visio命名空间。使用它当然可以将数据存储到数据库。

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文