其中精灵控制,我可以在一个WinForms应用程序中使用? [英] Which wizard control can I use in a WinForms application?

查看:155
本文介绍了其中精灵控制,我可以在一个WinForms应用程序中使用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在寻找的场景般的精灵(与下一首/后退按钮),我可以在Windows应用程序的.NET 3.5下使用。是否有.NET Framework 3.5的Microsoft提供的任何向导控制?

I was looking for scenario-like wizard (with Next/Back buttons) that I can use in a Windows application under .NET 3.5. Is there any wizard control provided by Microsoft in .NET Framework 3.5?

推荐答案

不,微软并没有提供现成的向导控制为.NET Framework的一部分。您将需要建立自己的自己的。

No, Microsoft does not provide a ready-made wizard control as part of the .NET Framework. You will need to build your own.

有在网络上提供了一些样品,可以帮助您开始:

There are several samples available on the web that can help get you started:

  • Cristi Potlog's Wizard Control for .NET  (probably my favorite out of these)
  • A Simple Wizard Control for .Net 2.0 with Full Designer Support
  • GN Wizard Framework
  • A .NET Wizard control
  • Designer centric Wizard control
  • TSWizard - a wizard framework for .NET


当然,你可以看到,大多数的样品都实现了老向导97接口,而不是新的Aero向导(在Windows Vista中和7)。我见过那些在code项目之一,也:


Of course, as you can see, the majority of those samples implement the old Wizard 97 interface, rather than the new Aero Wizards (found in Windows Vista and 7). I've seen one of those on Code Project, too:

但是,也许我已经看到了在Windows中发现的最好实现形式的Aero库,可供下载这里上codePLEX。该航空向导.NET库是另一个不错的选择,也codePLEX。

But perhaps the best implementation I've seen is found in the Windows Forms Aero library, available for download here on CodePlex. The Aero Wizard .NET Library is another great option, also on CodePlex.

这两项都非常好看,设计良好的向导控制,但他们都没有将工作正常的Windows XP(不支持Aero主题)。你会碰到的最大问题是确保你的代码是完全向后兼容的,在以前的Windows Vista的版本上运行时正确地恢复到向导97的风格。我还没有看到,得到这一权利在网上发布尚未控制。

Both of those are great looking, well-designed wizard controls, but neither of them will work properly on Windows XP (which doesn't support the Aero theme). The biggest problem you'll run into is ensuring that your implementation is fully backward-compatible, properly reverting to the Wizard 97 style when running on a version of Windows prior to Vista. I haven't seen a control that gets this right posted online yet.


如果第三方控制花钱是一种选择,你可能会考虑 XtraWizard 由Devex preSS或向导框架,Divelements 的。


If spending money on a third-party control is an option, you might look into XtraWizard by Devexpress or the Wizard Framework by Divelements.


但无论哪条线路选择,我强烈推荐下微软的向导准则


But no matter which route you choose, I highly recommend following Microsoft's Wizard guidelines.

这篇关于其中精灵控制,我可以在一个WinForms应用程序中使用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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