基于框图的编程 [英] Block Diagram based programming

查看:98
本文介绍了基于框图的编程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

先生,如何设计编辑器,用户可以在其中绘制框图并进行连接.如何编译这样的框图以了解语法检查.

Sir, How to design an editor in which user can draw block diagrams and connect them. How to compile such block diagrams to find out about syntax checking.

推荐答案

您想要做的基本上与在Visual Studio中创建一个窗体设计器相同. .

因此,请查看 [
What you want to do is basically the same as creating a forms designer like the one in visual studio.

So take a look at this[^] and follow the links in the article.

There should be enough there to get you started. When you have written some code and then encounter a problem ask here again showing the code that has the problem and a full description of the problem (error message, incorrect results etc.)


我怀疑OP正在寻找类似Rational Rose的东西,而不是表单设计师.他想使用设计师创建流程图,并希望自动生成存根类/方法/属性.

OP,您能确认一下吗?
I suspect the OP''s looking for something like Rational Rose rather than a forms designer. He wants to create a flow-chart using a designer and wants stub classes/methods/properties to be auto-generated.

OP, can you confirm this please?


这篇关于基于框图的编程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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