将对象拖放到屏幕(故障树应用程序) [英] Drag and Drop Objects to Screen (Fault tree Application)

查看:77
本文介绍了将对象拖放到屏幕(故障树应用程序)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hi Everybody,

我想使用vb.net创建一个应用程序来解决任何故障树。在我的应用程序中,我希望用户通过拖动故障树符号来与屏幕交互,例如:(和门,或门,故障,基本事件,未开发事件)。此链接提供了有关故障树如何显示的示例

http://www.weibull.com/basics/fault-tree/index.htm

现在,在用户构建了故障树之后,我希望能够识别屏幕上不同元素的ID,解决故障树。

我想知道如何开始。如何允许用户将故障树元素拖放到屏幕上?

感谢您的帮助。

推荐答案




我完全不明白这个问题。


您是否需要开发最终用户应用程序或开发指导应用程序?


如果响应是最终用户应用程序,则可以使用第三部分组件,例如:
< BR> http://www.syncfusion.com/products/diagram/web/default.aspx结果http://www.syncfusion.com/products/diagram/windows/default.aspx搜索结果HTTP ://www.nwoods.com/GO/dotnet.htm

http://www.ilog.com/products/diagramnet/index.cfm

这些涉及winforms的典型应用程序或者webforms。
我认为您可以在这些组件中创建自定义对象图。



但是如果您需要在Visual Studio IDE上工作,在这种情况下您可以使用其他替代方案。

您可以使用DSL工具来定义可视组件,并使用VS IDE作为设计器。
如果您需要限制IDE的使用,可以使用Visual Studio隔离模式,和创建一个特定用途的自定义IDE。


在这里你有一些关于DSL的视频和示例:


http://msdn.microsoft.com/en-us/vsx/cc677256.aspx < br>
请记住,DSL工具(特定于域的语言工具)是Visual Studio SDK的一部分:
http://msdn.microsoft.com/en-us/library/bb166441.aspx
br>

我希望我有所帮助

问候



Hi,

I don´t understand completely the question.


Do you need to develop a final user application or develop guidance application ?


If the response is the final user application, you can use third parts componentes, such as:

http://www.syncfusion.com/products/diagram/web/default.aspx
http://www.syncfusion.com/products/diagram/windows/default.aspx

http://www.nwoods.com/GO/dotnet.htm

http://www.ilog.com/products/diagramnet/index.cfm

These involve a typical application with winforms or webforms.
I think that you can create custom object diagram in these componentes.



But if you need to work over the Visual Studio IDE, in this case you have others alternatives.

You can use DSL Tools, to define the visual componentes, and use the VS IDE as designer.
If you need to restrict the use of the IDE, you can use the Visual Studio Isolate mode, and create a custom IDE for specific use.


Here you have some videos and samples about DSL:
http://msdn.microsoft.com/en-us/vsx/cc677256.aspx

Remember that DSL tools (Domain-Specific Language Tools) is a part of Visual Studio SDK:
http://msdn.microsoft.com/en-us/library/bb166441.aspx



I hope I have been helpful

greetings



这篇关于将对象拖放到屏幕(故障树应用程序)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆