自动化/动作C#克隆 [英] Automator/Action(s) C# clone

查看:82
本文介绍了自动化/动作C#克隆的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,
我正在尝试使用C#在Visual Studio中制作一个外观和功能类似于OSX的Automator或Java程序Action(s)().但是,在尝试设计程序片段时,当我将选定的动作放到屏幕右半边的框上时,它会显示一些额外的参数,以根据动作量身定制操作,这给我带来了麻烦.用户的特定需求.我正在考虑对其他参数使用自定义控件,但是我不确定哪种控件类型允许我在其内部添加自定义控件,以便可以对其进行重新排列,并且如果控件扩展,则可以滚动浏览它们超出窗口的边缘.有人对我应该做什么有任何建议吗?

谢谢,
Bobby

Hi Everyone,
I am trying to make a program in Visual Studio using C# that would look and function like OSX''s Automator, or the Java program Action(s) (http://app.jbbres.com/actions/). I am running into a bit of trouble, however, when trying to design the piece of the program where when I drop the selected action onto the box on the right half of the screen, it shows additional parameters to enter to tailor the action to the users'' specific needs. I am thinking about using custom controls for my additional parameters, but I am unsure of which type of control would allow me to add custom controls within itself in such a way that they can be rearranged, and you can scroll through them if the controls extend beyond the edges of the window. Does anyone have any suggestions on what I should do?

Thanks,
Bobby

推荐答案

如果您可以接受WPF,请 WPF工具包 [ ^ ]具有手风琴控件,您可以觉得有趣.
http://blogs.u2u. be/diederik/post/2010/02/20/How-to-play-the-Accordion-WPF-Toolkit.aspx [ http://www.c-sharpcorner.com/uploadfile/dpatra/accordion-in -wpf-toolkit/ [ ^ ]

更新:
这是一种适用于Windows的表单: http://www.viblend.com /products/net/windows-forms/controls/free-winforms-controls.aspx [
If WPF is acceptable to you, WPF Toolkit[^] has an accordion control, you might find interesting.
http://blogs.u2u.be/diederik/post/2010/02/20/How-to-play-the-Accordion-WPF-Toolkit.aspx[^]
http://www.c-sharpcorner.com/uploadfile/dpatra/accordion-in-wpf-toolkit/[^]

Update:
Here is one for Windows forms: http://www.viblend.com/products/net/windows-forms/controls/free-winforms-controls.aspx[^]


这篇关于自动化/动作C#克隆的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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