如何使用C#或C ++实现拖放工具箱 [英] how to realize toolbox with drag and drop with C# or C++

查看:271
本文介绍了如何使用C#或C ++实现拖放工具箱的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何实现项目应该有一个窗口界面,我可以从工具箱中拖出一个控件并将其拖放到窗口界面,就像Viual studio实现一个对话框项目一样,我可以拖动按钮或静态文本等等对话框并更改控件的属性。

非常感谢。

How can I realize the project that there should be a window interface, I can drag a control from the toolbox and drop it to the window interface, just like Viual studio implement a dialog project, I can drag button or static text and so on to the dialog and change the properties of the controls.
Thank you very much.

推荐答案

你要问的是什么是一个大中型项目,预计需要经验丰富的程序员从头开始数周才能完成。

您需要更加具体地了解您想要实现的目标以及您的问题。

如果你在询问GUI设计系统的体系结构,那么最好去Qt或MFC或Winforms或Visual Basic学习现有的体系结构,而不是尝试编写自己的体系结构。知识。

如果在尝试GUI构建器或可视化编程系统之前尚未创建一些GUI项目,请先创建它们。这是一个艰难的项目。
What you''re asking would be a medium to large project expected to take an experienced programmer many weeks to complete from scratch.
You need to be much more specific about what you''re trying to achieve and what your question is.
If you''re asking about an architecture for a GUI design system then it would be better to go and study the existing ones for Qt or MFC or Winforms or Visual Basic than try to write your own without knowledge.
Create a few GUI projects first if you have not already before attempting a GUI builder or visual programming system. This is a hard project.


这篇关于如何使用C#或C ++实现拖放工具箱的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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